Share via


Suspend Timeout Support (Windows Embedded CE 6.0)

1/6/2010

You may want your Windows Embedded CE-based device to enter a suspended state after a period of inactivity. You can enter a suspended state in the following ways:

  • The Graphics, Windowsing, and Events Subsystem (GWES) can maintain an idle timer based on user input and suspend the system after a period of inactivity. This is the method used in versions of Windows Embedded CE prior to Windows CE .NET 4.1.
  • Power Manager can actively manage system power states, based on activity timers, power source, and other input methods. You can customize Power Manager to suspend the system when you choose.
  • Write an application outside of GWES and Power Manager that decides when to suspend the system. Both GWES and Power Manager must be configured to not manage suspended states.

In all three of these situations, Power Manager is responsible for suspending the system by calling PowerOffSystem. The scenarios differ primarily in how you change the system power state to a suspended state. Only one of the methods should be used to avoid conflicts between GWES, Power Manager, and your application.

If Power Manager manages timeouts, the SystemIdleTimerReset function informs GWES that a screen-saver should not appear.

See Also

Concepts

GWES Suspend Timeouts
Power Manager Suspend Timeouts
Application Suspend Timeouts

Other Resources

Power Management
PowerOffSystem
SystemIdleTimerReset