Skip to main content

BatteryState

Namespace: Wisej.Hybrid.Shared.Battery

Assembly: Wisej.Hybrid

Describes possible states of the battery.

public enum BatteryState : Enum

Fields

NameDescription
ChargingBattery is actively being charged by a power source.
DischargingBattery is not plugged in and discharging.
FullBattery is full.
NotChargingBattery is not charging or discharging, but in an inbetween state.
NotPresentBattery does not exist on the device.
UnknownBattery state could not be determined.

Used By

NameDescription
DeviceBatteryInfo.StateGets the current state of the battery, indicating if it is charging or full.