mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-29 13:26:50 +01:00
adjusted battery threshold
This commit is contained in:
parent
457147bcca
commit
961eb1c4ce
@ -480,7 +480,7 @@ public class QHybridSupport extends QHybridBaseSupport {
|
||||
if (request instanceof BatteryLevelRequest) {
|
||||
gbDevice.setBatteryLevel(((BatteryLevelRequest) request).level);
|
||||
|
||||
gbDevice.setBatteryThresholdPercent((short) 25);
|
||||
gbDevice.setBatteryThresholdPercent((short) 2);
|
||||
|
||||
GBDeviceEventBatteryInfo batteryInfo = new GBDeviceEventBatteryInfo();
|
||||
batteryInfo.level = gbDevice.getBatteryLevel();
|
||||
|
Loading…
Reference in New Issue
Block a user