BatteryStatusChangedEventArgs
Namespace: XPlat.Device.Power
Defines an event argument for when the battery status changes.
Supported platforms
Platform
Version
.NET Standard
2.0
Xamarin.Android
9.0
Xamarin.iOS
1.0
UWP
10.0.16299
Constructors
BatteryStatusChangedEventArgs(BatteryStatus, int)
Parameters
batteryStatus (BatteryStatus)
The status of the battery.
remainingChargePercent (int)
The remaining battery charge as a percentage.
Properties
BatteryStatus
Gets the status of the battery.
RemainingChargePercent
Gets the remaining battery charge as a percentage.
CheckTime
Gets the time the status change check occurred.
Last updated