Suspend Time-out Support (Windows CE 5.0)

Send Feedback

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

  • GWES can maintain an idle timer based upon user input and suspend the system after a period of inactivity. This is the method used in versions of Windows CE prior to Microsoft® Windows® CE .NET 4.1.
  • The Power Manager can actively manage system power states based on activity timers, power source, and other input methods. You can customize the Power Manager to suspend the system when you choose.
  • You can write an application outside of GWES and the Power Manager that decides when to suspend the system. In this scenario, both GWES and the Power Manager must be configured to not manage suspend states.

In all three of these scenarios, the 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 suspend state. Only one of the methods should be used to avoid conflicts between GWES, the Power Manager and your application.

If the Power Manager is managing time-outs on your OS the SystemIdleTimerReset function informs GWES that a screen saver should not appear.

See Also

Power Management | GWES Suspend Time-outs | Power Manager Suspend Time-outs | Application Suspend Time-outs | PowerOffSystem | SystemIdleTimerReset

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.