Verified Commit 42ab7a54 authored by Gigadoc 2's avatar Gigadoc 2
Browse files

warn AT the level, not just below it

parent 40b7f526
......@@ -78,7 +78,7 @@ class BatteryWatcher:
css_classes = [ bat_states[self.bat.State] ]
for level in bat_levels.keys():
if self.bat_percentage_of_design < level:
if self.bat_percentage_of_design <= level:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment