With the ongoing troubles of ACPI incorrectly reporting battery life on many notebooks, many users wish to gain access to the hidden energy supply by disabling the battery alarms. For whatever reason, Windows Vista does not allow the 'Critical battery action->On battery' option to be set to 'Do Nothing' using the Power Options GUI--it is simply not in the drop-down list.
After digging through the registry and attempting to change the key values manually with regedit.exe to no avail (unable to change the value due to write permissions), I found out about a command line version of power options included with Windows Vista.
The tool is powercfg.exe
To change the 'Battery->Critical battery action->'On battery' setting to "Do nothing" using powercfg.exe
- activate the power scheme you want to modify.
- open an elevated command console (windows key, type 'cmd' in start menu, press "ctrl+shift+enter", click 'continue')
- execute "powercfg -setdcvalueindex SCHEME_CURRENT SUB_BATTERY BATACTIONCRIT 0"
- your current power scheme will show "Battery->Critical battery action->On battery: Do nothing" despite the option being unavailable in the drop box.
If you want to change the value of a non-active power scheme, you can execute 'powercfg -L' and replace SCHEME_CURRENT with the GUID of your choice.
To see all the options, run 'powercfg /?'
-
CalebSchmerge Woof NBR Reviewer
Thank you very much!
-
I think you can configure this using the user interface as well.
- Right click on the power icon (battery) near the clock in the system tray and select 'Power Options'
- Press the link button titled: 'Change plan settings'
- Select 'Change advanced power settings' link button
- From the list of options scroll to 'Battery' and under that 'Critical battery action'. You can select from the drop down lists when you click the current action what you would like to do. Also, in this advanced settins window you can select another power plan from the drop down list and change settings there.
-
-
understanding the shortcomings of any apps/utilities, having a warning is better than none when working with battery's life left, hate to see some of the work goes down the tube when the laptop decides to shut itself off due to no more juice available -
nice info, regardless - thx
cheers ... -
Just a hunch...
Whilst I have not checked the Vista's registries... I remember that Win2000 and XP had so many registry settings that gave you options/tweaks which you could not otherwise see with the normal Windows programs and menus, or interface.
And I think what Plex has pointed out with the Command Line entry is essentially changing the registry but via the command prompt or script. -
How to set the Critical battery action to 'Do Nothing' in Windows Vista
Discussion in 'Windows OS and Software' started by Plex, May 24, 2007.