PowerSupplyStatus Enum

Definition

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

Adequate 2

Power supply is adequate.

Inadequate 1

Power supply is not adequate.

NotPresent 0

Power supply is not present.

Applies to

See also