Microsoft.Windows.System.Power Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a set of power management APIs that allow visibility into how an app affects the device's power state, and enable the app to make intelligent decisions about resource usage. For example, an app might use this API to postpone resource-intensive background tasks while the device is running on battery power.
For more information, see Power management with the app lifecycle API.
Classes
PowerManager |
Provides static events that notify your app of changes to the devices power state and static properties that provide access to current power state information. |
Enums
BatteryStatus |
Defines values that represent the status of the battery on the device. |
DisplayStatus |
Defines values that represent the status of the display that is associated with the app's session. |
EffectivePowerMode |
Defines values that represent the effective power mode of the device. |
EnergySaverStatus |
Defines values that represent the battery saver states of the device. |
PowerSourceKind |
Defines values that represent the power source of the device. |
PowerSupplyStatus |
Defines values that represent the power supply status of the device. |
SystemSuspendStatus |
Defines values that represent the suspend status of the device. |
UserPresenceStatus |
Defines values that represent the user status associated with the app's session. |