mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
adjusted battery threshold
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user