Application Power Management Best Practices for Windows Vista
Updated: November 20, 2007
File name: PM_apps.docx
About This Download
The Microsoft Windows Vista operating system features significant changes to power management infrastructure, functionality, and user experiences. These changes impact all Windows components, including third-party applications and services. Application developers must be aware of the changes to power management in Windows Vista, and design and test their applications accordingly.
This paper describes power management best practices for Windows Vista applications, including correctly handling sleep and resume transitions, responding to common system power events and designing for entertainment and media PC scenarios. The sample code in this paper is derived from the Power Event Monitoring Tool sample application, which registers for common power events and displays messages when notifications are sent, displays battery capacity information, and interactively sets thread execution state.
This information applies for the following operating systems:
Included in this white paper: