mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-01 14:32:54 +01:00
Roidmi 1: Set number of batteries to 0
This commit is contained in:
parent
b0648dcc09
commit
4297b4b7e0
@ -50,4 +50,10 @@ public class Roidmi1Coordinator extends RoidmiCoordinator {
|
|||||||
public DeviceType getDeviceType() {
|
public DeviceType getDeviceType() {
|
||||||
return DeviceType.ROIDMI;
|
return DeviceType.ROIDMI;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getBatteryCount() {
|
||||||
|
// Roidmi 1 does not have voltage support
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user