다음을 통해 공유


Application Interface (Windows Embedded CE 6.0)

1/6/2010

Power Manager provides several functions to allow applications to affect system and device power management. Of the functions in this list, only GetSystemPowerState, SetPowerRequirement, and ReleasePowerRequirement are intended for use by generic applications. For example, applications can use SetSystemPowerState to suspend the system, but Power Manager may restrict the system power states that can be entered as a result of application requests. The other functions are intended for use by OEM applications, such as Control Panel utilities. The following table shows the device power management functions.

Function Description

GetSystemPowerState

Returns the name of the current system power state.

SetSystemPowerState

Requests that Power Manager change the current system power state.

SetPowerRequirement

Requests that Power Manager maintain the power state of a device at a minimum level.

ReleasePowerRequirement

Informs Power Manager that it no longer needs to maintain the device minimum power state set in a previous call to SetPowerRequirement.

GetDevicePower

Returns the current power state of a device.

SetDevicePower

Requests that Power Manager change the power state of a device.

See Also

Concepts

Power Manager Interfaces
System Power State Setting
Power Requirements on Devices