Skip to content

Commit abbd740

Browse files
committed
Lower battery threshold
1 parent bfd6188 commit abbd740

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎frontend/src/components/TemperatureBox.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type TemperatureBoxProps = {
2222
};
2323

2424
const isBatteryLow = (sensor: Sensor) =>
25-
sensor.battery !== undefined && sensor.battery < 10;
25+
sensor.battery !== undefined && sensor.battery < 2;
2626

2727
const TREND_PILL_THRESHOLD = 0.3;
2828

0 commit comments

Comments
 (0)