mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-12 01:51:58 +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