PowerManager.BatteryStatus Property
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.
Gets the device's battery status.
public:
static property BatteryStatus BatteryStatus { BatteryStatus get(); };
static BatteryStatus BatteryStatus();
public static BatteryStatus BatteryStatus { get; }
var batteryStatus = PowerManager.batteryStatus;
Public Shared ReadOnly Property BatteryStatus As BatteryStatus
Property Value
The device's battery status.