BatteryPowerSource 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.
Enumerates power sources with which the device and battery can be powered or charged.
public enum class BatteryPowerSource
public enum BatteryPowerSource
type BatteryPowerSource =
Public Enum BatteryPowerSource
- Inheritance
-
BatteryPowerSource
Fields
Name | Value | Description |
---|---|---|
Unknown | 0 | Power source cannot be determined. |
Battery | 1 | Power source is the battery and is currently not being charged. |
AC | 2 | Power source is an AC Charger. |
Usb | 3 | Power source is a USB port. |
Wireless | 4 | Power source is wireless. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.