Skip to content

Commit

Permalink
Correct medium battery level lower threshold to match low battery lev…
Browse files Browse the repository at this point in the history
…el upper threshold
  • Loading branch information
kiwijos committed Jan 17, 2024
1 parent 98b1237 commit eaa263f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/(protected)/admin/map/live/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
const batteryLow: ExpressionSpecification = ['<=', ['get', 'charge_perc'], 0.15];
const batteryMedium: ExpressionSpecification = [
'all',
['>', ['get', 'charge_perc'], 0.2],
['>', ['get', 'charge_perc'], 0.15],
['<=', ['get', 'charge_perc'], 0.4]
];
Expand Down

0 comments on commit eaa263f

Please sign in to comment.