Best Practices for Faster Suspend Times (Windows Embedded CE 6.0)

1/6/2010

Only after passing the battery level test are devices that consume significant power turned on by Power Manager.

Do the following to achieve faster suspend times:

  • After suspend is initiated, ignore the suspend button until a PBT_RESUME notification arrives.
  • In the battery driver, implement the cache flag in the GetSystemPowerStatusEx2 function.
  • Choose a high enough battery critical level so that the system does not reduce power unexpectedly if a device is turned on.

You can configure the system to return from PowerOffSystem, and then go right back to sleep if the battery is critically low.

See Also

Other Resources

Best Practices for Power Management
Power Management
PowerOffSystem
Best Practices for Developing a Device Driver