BatteryState
Namespace: Wisej.Hybrid
Assembly: Wisej.Hybrid (4.1.0.0)
Describes possible states of the battery.
- C#
- VB.NET
public enum BatteryState
Public Enum BatteryState
Fields
| Name | Description | Value |
|---|---|---|
| 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 |
|---|---|
| DeviceBattery.State | Gets the current state of the battery, indicating if it is charging or full. |