mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-07-24 07:38:45 +02: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() {
|
||||
getDeviceProtocol();
|
||||
getDeviceIOThread().start();
|
||||
getDevice().setBatteryThresholdPercent((short)15);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user