BatteryState
Namespace: Wisej.Hybrid.Shared.Battery
Assembly: Wisej.Hybrid
Describes possible states of the battery.
- C#
- VB.NET
public enum BatteryState : Enum
Public Enum BatteryState As [Enum]
Fields
| Name | Description |
|---|---|
| Charging | Battery is actively being charged by a power source. |
| Discharging | Battery is not plugged in and discharging. |
| Full | Battery is full. |
| NotCharging | Battery is not charging or discharging, but in an inbetween state. |
| NotPresent | Battery does not exist on the device. |
| Unknown | Battery state could not be determined. |
Used By
| Name | Description |
|---|---|
| DeviceBatteryInfo.State | Gets the current state of the battery, indicating if it is charging or full. |