12 references to BatteryState
Microsoft.Maui.Essentials (12)
Battery\Battery.ios.watchos.cs (6)
83
public
BatteryState
State
94
return
BatteryState
.Charging;
96
return
BatteryState
.Full;
98
return
BatteryState
.Discharging;
101
return
BatteryState
.Full;
102
return
BatteryState
.Unknown;
Battery\Battery.shared.cs (6)
26
BatteryState
State { get; }
63
public static
BatteryState
State => Default.State;
147
static
BatteryState
currentState;
156
void OnBatteryInfoChanged(double level,
BatteryState
state, BatteryPowerSource source)
252
public BatteryInfoChangedEventArgs(double level,
BatteryState
state, BatteryPowerSource source)
267
public
BatteryState
State { get; }