Implement System Power States (Compact 2013)
You can use Power Manager (which acts as a mediator between device drivers, applications, and the kernel/OEM Adaptation Layer [OAL]), maps system power states that you define for your Windows Embedded Compact 2013-based platform to the device power states supported by Windows Embedded Compact 2013. For more information about Power Manager, see Power Management Architecture.
You can add customized power management features to your platform by implementing system power states. To implement system power states, perform the following tasks:
- Define system power states for your platform through registry settings.
- Create new system power state classes by modifying the provided Power Manager source code.
- Customize the source code to support the special requirements of your platform hardware.
Because Microsoft provides the Power Manager source code, you can modify Power Manager to implement system power states according to the needs of your platform. Typically, you implement system power states by copying a sample Power Management PDD to your platform directory, modifying the source code and registry settings to customize the system power state implementation to your needs.