PowerSupplyStatus 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 power supply status of the device.
public enum class PowerSupplyStatus
/// [Windows.Foundation.Metadata.Version(1)]
enum class PowerSupplyStatus
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.System.Power.PowerNotificationsContract, 65536)]
enum class PowerSupplyStatus
[Windows.Foundation.Metadata.Version(1)]
public enum PowerSupplyStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.System.Power.PowerNotificationsContract), 65536)]
public enum PowerSupplyStatus
var value = Microsoft.Windows.System.Power.PowerSupplyStatus.notPresent
Public Enum PowerSupplyStatus
- Inheritance
-
PowerSupplyStatus
- Attributes
Fields
Name | Value | Description |
---|---|---|
NotPresent | 0 | Power supply is not present. |
Inadequate | 1 | Power supply is not adequate. |
Adequate | 2 | Power supply is adequate. |