From e868838fcc7aef00ad17060e93873632084edbe3 Mon Sep 17 00:00:00 2001 From: Prozilla Date: Thu, 10 Aug 2023 13:28:32 +0200 Subject: [PATCH] Changed battery indicator ranges --- src/components/task-bar/indicators/Battery.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/task-bar/indicators/Battery.jsx b/src/components/task-bar/indicators/Battery.jsx index c4d9e31..8925cbb 100644 --- a/src/components/task-bar/indicators/Battery.jsx +++ b/src/components/task-bar/indicators/Battery.jsx @@ -47,13 +47,13 @@ export function Battery() { }, []); let icon = faBatteryFull; - if (percentage < 25) { + if (percentage < 10) { icon = faBatteryEmpty; - } else if (percentage < 50) { + } else if (percentage < 35) { icon = faBatteryQuarter; - } else if (percentage < 75) { + } else if (percentage < 65) { icon = faBatteryHalf; - } else if (percentage < 100) { + } else if (percentage < 90) { icon = faBatteryThreeQuarters; }