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
Adequate | 2 | Power supply is adequate. |
Inadequate | 1 | Power supply is not adequate. |
NotPresent | 0 | Power supply is not present. |
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for