From fbdc7a4117a1b0f1d45a78c8acaa33b3a0a453da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Thu, 4 Apr 2019 17:20:10 +0200 Subject: [PATCH] [ion] Battery: change battery thresholds (LOW, EMPTY) --- ion/src/device/battery.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ion/src/device/battery.cpp b/ion/src/device/battery.cpp index f3ed16364..ce64bff9d 100644 --- a/ion/src/device/battery.cpp +++ b/ion/src/device/battery.cpp @@ -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) {