diff --git a/gui/src/components/commons/icon/BatteryIcon.tsx b/gui/src/components/commons/icon/BatteryIcon.tsx index a02fd0b77..94a8c8975 100644 --- a/gui/src/components/commons/icon/BatteryIcon.tsx +++ b/gui/src/components/commons/icon/BatteryIcon.tsx @@ -4,9 +4,11 @@ import { useMemo } from 'react'; export function BatteryIcon({ value, disabled = false, + charging, }: { value: number; disabled?: boolean; + charging: boolean; }) { const col = useMemo(() => { const colorsMap: { [key: number]: string } = { @@ -26,7 +28,7 @@ export function BatteryIcon({ return ( @@ -59,6 +61,13 @@ export function BatteryIcon({ + {charging && ( + + )} ); } diff --git a/gui/src/components/tracker/TrackerBattery.tsx b/gui/src/components/tracker/TrackerBattery.tsx index ad047c462..c1235b91e 100644 --- a/gui/src/components/tracker/TrackerBattery.tsx +++ b/gui/src/components/tracker/TrackerBattery.tsx @@ -29,7 +29,11 @@ export function TrackerBattery({ return (
- + 4.3} + />