Recently, at least twice, my Windows 10 PC shut down automatically, saying that the battery had drained. But it wasn't even a minute before I saw it when it was 72%. I opened a few apps, a heavy code editor, Discord and Google Chrome. It was lagging as I'd opened them together and was waiting for them to load. After a few seconds, my PC shut down.
I don't think the code editor (PyCharm) consumed too much power or anything. How is it possible? This happened just yesterday, too, and it was some 54% battery then. The same thing happened, but I don't think I had many (I usually have five apps open simultaneously, at maximum) apps open then.
After plugging the PC and immediately powering it on, it shows just 6% battery. Yesterday (when it was 54%), after a few minutes, it was 12%. So, it had really drained somehow. But how? Or is it some kind of serious bug? I don't understand.
Please don't suggest it might've been due to high brightness, too many apps open together, etc. It had really drained in minutes, if not, seconds, in front of my eyes.
Windows has been suggesting I switch to Windows 11 (I'm currently using Windows 10 and prefer to continue using Windows 10). Is this another dirty trick Microsoft is using?