2016年8月23日 星期二

Disable critical battery event windows 7 , plan should not delete

How To Delete Built-in Windows 7 Power Plans (and Why You Probably Shouldn’t)

http://superuser.com/questions/622545/disable-critical-battery-event



Generally, it's not a good idea to discharge you battery below a certain threshold if you at least a bit care about its life. Too late for you, but you can still read why. That's probably also the reason why the wise ones at Microsoft decided to not allow you to set the critical level below 3% and also prevent you from ignoring the critical event.
Still, what's not available from the dropdowns seems to be possible via command line tool powercfg. If you run the following command from an elevated command console (cmd Run as Administrator) you'll get exactly what you are asking for:
powercfg -setdcvalueindex SCHEME_CURRENT SUB_BATTERY BATACTIONCRIT 0
This command will set the critical event handler to "Do Nothing" when running on battery in your currently selected power scheme (see powercfg -L), thus your system will die only when the battery protection circuit cuts the power off.

沒有留言:

張貼留言

注意:只有此網誌的成員可以留言。