Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to get the device settings for the backlight and power. I specifically need the Settings/System/Backlight/Battery Power and External/Turn off backlight if device not used for [XX sec] and the Settings/System/Power/Advanced/Turn off device if not used for [XX minutes]. If someone could point me out how to do it or to the reg file the info is stored in if that is where it is kept that would be great. Thanx
Posted
Updated 20-Sep-10 13:50pm
v2

1 solution

OK, so I have found the registry keys for Settings/System/Backlight/Battery Power and External/Turn off backlight if device not used for [XX sec]. They are located at HKCU\ControlPanel\Backlight\ACTimeout (for External) and BatteryTimeout (for Battery Power). DWORD values are set in whole seconds (not milliseconds). So a minute is a value of 60.

I have also found the registry keys for Settings/System/Power/Advanced/Turn off device if not used for [XX minutes], both for Battery Power and External. They are located at HKLM\System\CurrentControlSet\Control\Power\Timeouts\ACSuspendTimeout (for External) and BattSuspendTimeout (for Battery Power). DWORD values are set in whole seconds (not milliseconds). So a minute is a value of 60.

Hope this helps anyone else whom may be searching for them also.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900