PowerSupplyStatus
PowerSupplyStatus
PowerSupplyStatus
PowerSupplyStatus
Enum
Definition
Represents the device's power supply status.
public : enum class PowerSupplyStatuspublic enum PowerSupplyStatusPublic Enum PowerSupplyStatus// You can use this enum in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| Adequate Adequate Adequate Adequate | The device has an adequate power supply. |
| Inadequate Inadequate Inadequate Inadequate | The device has an inadequate power supply. |
| NotPresent NotPresent NotPresent NotPresent | The device has no power supply. |
Remarks
An Inadequate status occurs when the power supply is present, but the charge rate is negative. For example, the device is plugged in, but it’s losing charge.