From 6125a4b9896782ca281bb574091c91b6f797ae95 Mon Sep 17 00:00:00 2001 From: sctanf <36978460+sctanf@users.noreply.github.com> Date: Thu, 2 Apr 2026 21:43:16 -0500 Subject: [PATCH] Check for >200 (0%) where batteryPctEstimate is used --- gui/src/components/commons/icon/BatteryIcon.tsx | 4 ++-- gui/src/hooks/firmware-update.ts | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gui/src/components/commons/icon/BatteryIcon.tsx b/gui/src/components/commons/icon/BatteryIcon.tsx index 77311347c..4d173142a 100644 --- a/gui/src/components/commons/icon/BatteryIcon.tsx +++ b/gui/src/components/commons/icon/BatteryIcon.tsx @@ -60,7 +60,7 @@ export function BatteryIcon({ /> - + 2 ? 0 : value * 18} height="9" /> {charging && value <= 1 && ( )} - {charging && value > 1 && ( + {charging && value > 1 && value < 2 && ( 200) ) { return 'low-battery'; }