Skip to content

Commit

Permalink
chore(ui): 75% battery should not be displayed in a warning color
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypfer committed Oct 19, 2022
1 parent 4227918 commit a5e1bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/controls/RobotStatus.tsx
Expand Up @@ -21,7 +21,7 @@ const batteryLevelColors = {
};

const getBatteryColor = (level: number): "red" | "yellow" | "green" => {
if (level > 75) {
if (level > 60) {
return "green";
}

Expand Down

0 comments on commit a5e1bc2

Please sign in to comment.