[ion/f730/battery] WIP: Temporary dummy Charge::FULL level

This commit is contained in:
Ruben Dashyan
2019-01-10 16:58:23 +01:00
parent d0516136e9
commit c0fee0b735

View File

@@ -18,6 +18,7 @@ bool isCharging() {
}
Charge level() {
return Charge::FULL;
if (voltage() < 3.2f) {
return Charge::EMPTY;
}