mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-25 16:15:55 +01:00
Xiaomi: recognize a full battery as a valid charger state
This commit is contained in:
parent
2ef461ab90
commit
429d717630
@ -324,6 +324,7 @@ public class XiaomiSystemService extends AbstractXiaomiService implements Xiaomi
|
|||||||
case 1:
|
case 1:
|
||||||
return BatteryState.BATTERY_CHARGING;
|
return BatteryState.BATTERY_CHARGING;
|
||||||
case 2:
|
case 2:
|
||||||
|
case 3:
|
||||||
return BatteryState.BATTERY_NORMAL;
|
return BatteryState.BATTERY_NORMAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user