Power management settings

E

Elisa

Hi,

Does anyone know if you can set any of the following programmatically:

- On battery power, turn off device if not used for XX minutes.
- On battery power, turn off backlight if device is not used for XX minutes.
- On external power, turn off device if not used for XX minutes.
- On external power, turn off backlight if device is not used for XX
minutes.


Regards,

Elisa
 
G

Guest

Hi

You can use SystemParametersInfo

http://msdn.microsoft.com/library/d...-us/wceui40/html/cerefSystemParametersInfo.as

Or you can change the values in the registry. For example, I set the 'Turn off device if not used for XX minutes' by using the registry key 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Timeouts' and setting the value of BattSuspendTimeout to 0. That way the device will not turn off. When you set the value it's in seconds

hope this help
 
E

Elisa

Hi,

The registry keys indeed solve two out of the four items, but sadly I
can't find any registry keys that set the timeouts for the backlight...


Regards,

Elisa
 
E

Elisa

Hi,

It looks as if there is no standard way to set the backlight timeouts,
every manufacturer has is own way of doing it. Too bad!


Regards,

Elisa
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top