Partager via


Other Power Management APIs (Windows Embedded CE 6.0)

1/6/2010

The Windows Embedded CE power management functions other than Power Manager are built upon standard Windows Embedded CE power architecture and complement the standard power management programming elements.

Note

For more information on the power management programming elements, see Power Management Reference.

The following table describes the power management functions.

Function Description

OEMIdle

Called by the kernel to place the microprocessor in the idle state when there are no threads ready to run.

OEMPowerOff

Invoked when the OFF button is pressed or the Graphics, Windowing, and Events Subsystem (GWES) times out on its power-off timer. It is responsible for any final power-off state and putting the microprocessor into suspend mode.

XXX_PowerDown (Device Manager)

Suspends power to the device. It is used only with devices that can be shut off under software control.

XXX_PowerUp (Device Manager)

Restores power to a device.

Remarks

Regardless of whether they are aware of Power Manager, stream device drivers are notified through XXX_PowerUp (Device Manager) and XXX_PowerDown (Device Manager) when the system suspends and resumes.

See Also

Tasks

How to Add Power Management to a Device Driver

Concepts

Power Management Architecture