From 6400b004409efc92079970149d0a11f43242a753 Mon Sep 17 00:00:00 2001 From: Luke Marzen <98473324+lmarzen@users.noreply.github.com> Date: Fri, 16 Feb 2024 20:00:18 -0600 Subject: [PATCH] use min 3000mv to calculate battery percentage --- platformio/src/renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio/src/renderer.cpp b/platformio/src/renderer.cpp index d016b44ec..46e6ced0e 100644 --- a/platformio/src/renderer.cpp +++ b/platformio/src/renderer.cpp @@ -1125,7 +1125,7 @@ void drawStatusBar(const String &statusStr, const String &refreshTimeStr, #if BATTERY_MONITORING // battery uint32_t batPercent = calcBatPercent(batVoltage, - LOW_BATTERY_VOLTAGE, + CRIT_LOW_BATTERY_VOLTAGE, MAX_BATTERY_VOLTAGE); #if defined(DISP_3C_B) || defined(DISP_7C_F) if (batVoltage < WARN_BATTERY_VOLTAGE) {