mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +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:
|
||||
return BatteryState.BATTERY_CHARGING;
|
||||
case 2:
|
||||
case 3:
|
||||
return BatteryState.BATTERY_NORMAL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user