My friend had a similar issue, but not the same as yours.
Just for your consideration, this is what I did.
His laptop shut down even when entering BIOS mode. I initially thought it was a glitch with the OS, but shutting down on Bios mode confirmed that it was an hardware issue. So, I cleaned his...