Skip to main content

PowerState

Namespace: Busy.Bar

Current power/charging state of the device.

public enum PowerState

Inheritance ObjectValueTypeEnum → PowerState
Implements IComparable, ISpanFormattable, IFormattable, IConvertible

Fields

NameValueDescription
Discharging0Running on battery power; the battery is discharging.
Charging1Connected to external power and the battery is charging.
Charged2Connected to external power and the battery is fully charged.