diff --git a/i3pystatus/battery.py b/i3pystatus/battery.py index 3a15f0b..e1d857d 100644 --- a/i3pystatus/battery.py +++ b/i3pystatus/battery.py @@ -171,6 +171,12 @@ class BatteryChecker(IntervalModule): } return + if battery.percentage() > 99.9: + self.output = { + "full_text": "" + } + return + fdict = { "battery_ident": self.battery_ident, "percentage": battery.percentage(),