How to stop computer from entering sleep under "Critical Battery Trigger Met" misidentification?

Solution 1:

Maybe this can help. Press Windows key and type: Edit power plan In this menu go to: Change advanced power settings In the next menu, all the way at the bottom there is Battery. In here you can define the Critical Battery Action for plugged in, for you this could be: do nothing.

Hope this helps.

Pim.

Solution 2:

Running the following command as admin will set the Critical Battery Action for On battery to Do nothing. After setting this programmatically the Do nothing option should be available in the GUI dropdown for Plugged in.

powercfg -setdcvalueindex SCHEME_CURRENT SUB_BATTERY BATACTIONCRIT 0