Share via


Power Management Implementation in Drivers (Windows CE 5.0)

Send Feedback

When configuring your driver to support power management, determine the power state value for each entry point for your driver. If you determine these power state values accurately, your driver will function in an appropriate manner depending on the current power state in which your target device exists.

Be sure that your driver does not power up your target device in the call to XXX_PowerUp (Device Manager). Your driver must instead restore the power state to the value set by the Power Manager, which is most likely the D3 or D4 state. Also, be sure that your driver does not power down your target device in the call to XXX_PowerDown (Device Manager).

Note   If your target device cannot be powered up during a suspend state and no request from the Power Manager has been sent, your driver has not been configured correctly and you should reconfigure power management in your driver.

See Also

How to Add Power Management to a Device Driver

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.