mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-26 18:45:49 +01:00
QC35: added battery threshold
This commit is contained in:
parent
73ce323288
commit
2fbf0d62e0
@ -69,6 +69,7 @@ public class QC35BaseSupport extends AbstractSerialDeviceSupport {
|
|||||||
public boolean connect() {
|
public boolean connect() {
|
||||||
getDeviceProtocol();
|
getDeviceProtocol();
|
||||||
getDeviceIOThread().start();
|
getDeviceIOThread().start();
|
||||||
|
getDevice().setBatteryThresholdPercent((short)15);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user