Value Name Description
BattPowerOff
The number of seconds Windows CE waits for user input while on battery power before initiating a suspend.
ExtPowerOff
The number of seconds Windows CE waits for user input while on external power before initiating a suspend.
WakeupPowerOff
The number of seconds Windows CE waits for user input after an event (such as an alarm) triggers a resume before initiating a suspend, regardless of battery or external power.
Any or all of these values can be set to zero to disable idle suspends under the associated conditions.
Remarks
The default behavior is to go into a suspended state after a specified period of time expires. This time interval is specified in the registry. Calling SystemIdleTimerReset overrides the registry setting by resetting the timer.
If the Power Manager is managing timeouts, calls to SystemIdleTimerReset will still reset the GWES timeout and cause the screen saver to stop showing.
This function must be use appropriately. On battery powered devices, a program that never suspends (or sleeps) by continually calling SystemIdleTimerReset can quickly drain the batteries.
The frequency in which to call SystemIdleTimerReset in order to keep a device awake can be determined retrieving the following registry key: