Driver Role in Power Management
Drivers support power management in two ways:
Drivers respond to system-wide power requests issued by the power manager.
Drivers manage power and performance states for their individual devices.
For a device to participate in power management, every driver in the device stack for the device must respond to or pass power IRPs appropriately. Failure of a single driver to act correctly can cause power management to be disabled across the entire system.
One driver for each device manages power policy for its device. That driver can send power IRPs to its own device stack to perform power operations on its device. The power policy manager is responsible for issuing device power IRPs that correspond to system power IRPs.
In addition, drivers might perform certain power tasks, such as powering on a device at start-up or powering off a device at removal, without receiving a power IRP. These are considered implicit power requests.
For more information, see Power Management Responsibilities for Drivers.