EnergySaverStatus Enum
Definition
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.
Defines values that represent the battery saver states of the device.
public enum class EnergySaverStatus
/// [Windows.Foundation.Metadata.Version(1)]
enum class EnergySaverStatus
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.System.Power.PowerNotificationsContract, 65536)]
enum class EnergySaverStatus
[Windows.Foundation.Metadata.Version(1)]
public enum EnergySaverStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.System.Power.PowerNotificationsContract), 65536)]
public enum EnergySaverStatus
var value = Microsoft.Windows.System.Power.EnergySaverStatus.uninitialized
Public Enum EnergySaverStatus
- Inheritance
-
EnergySaverStatus
- Attributes
Fields
Name | Value | Description |
---|---|---|
Uninitialized | 0 | Battery saver is uninitialized. |
Disabled | 1 | Battery saver is disabled. |
Off | 2 | Battery saver is off. |
On | 3 | Battery saver is on. |
Remarks
This enum corresponds to the GUID_POWER_SAVING_STATUS power setting GUID.