Reads system battery information, including battery level and charging source. More...
|Import Statement:||import ArcGIS.AppFramework.Platform 1.0|
Enum describing the current charge state of the battery. Informs the state property.
Enum describing the device's currently-used power source. Informs the source property.
Enum describing the power consumption mode that the device is curently using. Informs the mode property.
The current percentage of power remaining for the device's battery.
On Windows, this will return 0 if the device is currently connected to an external power source.
The current power consumption mode the device is in. Informed by the PowerMode enum.
Contains the power source that the device is currently using. Informed by the PowerSource enum.
Contains the battery's current charging state. Informed by the BatteryState enum.