From 961eb1c4ce6a9acadb6ed68190080cebbab7d095 Mon Sep 17 00:00:00 2001 From: dakhnod Date: Thu, 1 Aug 2019 01:02:48 +0200 Subject: [PATCH] adjusted battery threshold --- .../gadgetbridge/service/devices/qhybrid/QHybridSupport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/qhybrid/QHybridSupport.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/qhybrid/QHybridSupport.java index 29f4968cf..a3821df40 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/qhybrid/QHybridSupport.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/qhybrid/QHybridSupport.java @@ -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();