mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
oppo: fix parseBattery missing battery logic
This commit is contained in:
+1
-1
@@ -263,7 +263,7 @@ public class OppoHeadphonesProtocol extends GBDeviceProtocol {
|
||||
.map(event -> ((GBDeviceEventBatteryInfo) event).batteryIndex)
|
||||
.toList();
|
||||
|
||||
for (int i = 0; i < 2; i++) {
|
||||
for (int i = 0; i < 3; i++) {
|
||||
if (processedBatteries.contains(i)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user