1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-24 15:43:46 +02:00

QC35: added battery threshold

This commit is contained in:
Daniel Dakhno 2022-01-20 15:51:19 +01:00
parent 73ce323288
commit 2fbf0d62e0

View File

@ -69,6 +69,7 @@ public class QC35BaseSupport extends AbstractSerialDeviceSupport {
public boolean connect() {
getDeviceProtocol();
getDeviceIOThread().start();
getDevice().setBatteryThresholdPercent((short)15);
return true;
}