USB ETW and power management

This article provides a brief overview about using Event Tracing for Windows (ETW) to examine USB selective suspend state and identifying system energy efficiency problems by using the Windows PowerCfg utility.

If a USB device driver supports USB Selective Suspend, it can turn off the USB device when the device is idle. When the device is no longer idle, the system wakes the device and resumes normal operation. When the system is idle and all USB devices are suspended, no processor activity is required, and therefore the processor enters a low-power state. Properly implementing selective suspend can result in significant power savings and increased battery life for mobile systems.

You can use USB ETW to examine USB devices and their drivers to validate whether they successfully go into selective suspend. Inspect your USB devices and drivers to ensure that they properly support selective suspend before you provide the devices to end users.

To help you identify system energy efficiency problems, we enhanced the Windows PowerCfg utility in Windows 7. PowerCfg is a command-line utility that is included with Windows that enables power policy enumeration and configuration. The enhancements to PowerCfg for determining energy efficiency problems are exercised by using the /energy option. These enhancements enable PowerCfg to inspect the system for common energy efficiency problems and generate an HTML report that contains any issues that it found.

PowerCfg detects various energy efficiency problems including:

  • Ineffective use of selective suspend by USB devices
  • Excessive processor utilization
  • Increased timer resolution
  • Inefficient power policy settings
  • Battery capacity degradation

PowerCfg identifies different levels of problems, including server errors and warnings.

To generate a power efficiency diagnostics report using the PowerCfg utility, run the following command from an elevated command prompt:

powercfg /energy

For details, see Guided Help: Get a detailed Power Efficiency Diagnostics Report.

For more about Windows power management and the PowerCfg tool, including the /energy option, see Powercfg Command-Line Options.