mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
QC35: added battery threshold
This commit is contained in:
+1
@@ -69,6 +69,7 @@ public class QC35BaseSupport extends AbstractSerialDeviceSupport {
|
||||
public boolean connect() {
|
||||
getDeviceProtocol();
|
||||
getDeviceIOThread().start();
|
||||
getDevice().setBatteryThresholdPercent((short)15);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user