From 6823cd6b48fa832d84712ac897e685a52d82ea02 Mon Sep 17 00:00:00 2001
From: sctanf <36978460+sctanf@users.noreply.github.com>
Date: Fri, 3 Apr 2026 01:55:30 -0500
Subject: [PATCH] Make 0% battery check consistent
---
gui/src/components/commons/icon/BatteryIcon.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gui/src/components/commons/icon/BatteryIcon.tsx b/gui/src/components/commons/icon/BatteryIcon.tsx
index 4d173142a..150034d5c 100644
--- a/gui/src/components/commons/icon/BatteryIcon.tsx
+++ b/gui/src/components/commons/icon/BatteryIcon.tsx
@@ -62,13 +62,13 @@ export function BatteryIcon({
2 ? 0 : value * 18} height="9" />
- {charging && value <= 1 && (
+ {charging && (value <= 1 || value > 2) && (
)}
- {charging && value > 1 && value < 2 && (
+ {charging && value > 1 && value <= 2 && (