diff --git a/typescript/frontend-marios2/src/content/dashboards/BatteryView/BatteryViewSodioHome.tsx b/typescript/frontend-marios2/src/content/dashboards/BatteryView/BatteryViewSodioHome.tsx index a3cf32746..db6b47d6c 100644 --- a/typescript/frontend-marios2/src/content/dashboards/BatteryView/BatteryViewSodioHome.tsx +++ b/typescript/frontend-marios2/src/content/dashboards/BatteryView/BatteryViewSodioHome.tsx @@ -309,7 +309,12 @@ function BatteryViewSodioHome(props: BatteryViewSodioHomeProps) { sx={{ width: '8%', textAlign: 'center', - backgroundColor: '#32CD32', + backgroundColor: + battery.Soh ==100 + ? '#32CD32' + : battery.Soc >= 90 + ? '#ffbf00' + : '#FF033E', color: 'inherit' }} >