[ion] Battery: change battery thresholds (LOW, EMPTY)

This commit is contained in:
Émilie Feral
2019-04-04 17:20:10 +02:00
parent da12904873
commit fbdc7a4117

View File

@@ -18,10 +18,10 @@ bool isCharging() {
}
Charge level() {
if (voltage() < 3.2f) {
if (voltage() < 3.6f) {
return Charge::EMPTY;
}
if (voltage() < 3.5f) {
if (voltage() < 3.7f) {
return Charge::LOW;
}
if (voltage() < 3.8f) {