Skip to main content

Application Power Management Best Practices for Windows Vista

Updated: November 20, 2007

File name: PM_apps.docx
130 KB
Microsoft Word file
Get Office File Viewers

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:
Windows Server 2008
Windows Vista

What's New:

  • Added correct location for obtaining Power Event Monitoring tool

Included in this white paper:

  • Handling Sleep and Resume Transitions

  • Preventing System Idle Timeouts

  • Designing for Extended Battery Life

  • Responding to Common Power Events

  • Designing for Entertainment and Media PC Scenarios

  • Using Power Management APIs from Managed Code

  • Designing for Earlier Versions of Windows

  • Responding to Power Events within a Windows Service

  • Testing Applications for Power Management

 

Rate: