1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-29 05:16:51 +01:00

Roidmi 1: Set number of batteries to 0

This commit is contained in:
José Rebelo 2021-12-26 11:01:48 +00:00 committed by vanous
parent b0648dcc09
commit 4297b4b7e0

View File

@ -50,4 +50,10 @@ public class Roidmi1Coordinator extends RoidmiCoordinator {
public DeviceType getDeviceType() {
return DeviceType.ROIDMI;
}
@Override
public int getBatteryCount() {
// Roidmi 1 does not have voltage support
return 0;
}
}