1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-30 22:12:55 +01:00

Pebble: try to improve 70% to 60% battery level accuracy

This commit is contained in:
Andreas Shimokawa 2017-04-02 00:12:19 +02:00
parent 742615c6f4
commit e4c7a921ea

View File

@ -76,7 +76,7 @@ class DatalogSessionAnalytics extends DatalogSession {
return 90; return 90;
} else if (batteryMilliVolts > 4000) { //guessed } else if (batteryMilliVolts > 4000) { //guessed
return 80; return 80;
} else if (batteryMilliVolts > 3880) { //confirmed } else if (batteryMilliVolts > 3890) { //3890 was already 60
return 70; return 70;
} else if (batteryMilliVolts > 3855) { //probably } else if (batteryMilliVolts > 3855) { //probably
return 60; return 60;