PowerSupplyStatus enumeration
[This documentation is preliminary and is subject to change.]
Represents the device's power supply status.
Syntax
var value = Windows.System.PowerSupplyStatus.notPresent;
public enum PowerSupplyStatus
Public Enum PowerSupplyStatus
public enum class PowerSupplyStatus
Attributes
[Version]
Members
The PowerSupplyStatus enumeration has these members.
Member | Value | Description |
---|---|---|
NotPresent | notPresent | 0 | The device has no power supply. |
Inadequate | inadequate | 1 | The device has an inadequate power supply. |
Adequate | adequate | 2 | The device has an adequate power supply. |
Requirements (device family)
Device family |
Universal |
API contract |
Windows.Foundation.UniversalApiContract, introduced version 1.0 |
Namespace |
Windows.System Windows::System [C++] |
Metadata |
Windows.Foundation.UniversalApiContract.winmd |