From 15b9484e98fe730926bf15b057682fe049a1c4dd Mon Sep 17 00:00:00 2001 From: Argish42 Date: Thu, 28 Aug 2014 13:16:31 +0200 Subject: [PATCH] def-status --- i3pystatus/battery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3pystatus/battery.py b/i3pystatus/battery.py index 88d4645..b4c7962 100644 --- a/i3pystatus/battery.py +++ b/i3pystatus/battery.py @@ -173,7 +173,7 @@ class BatteryChecker(IntervalModule): } return if self.no_text_full: - if battery.percentage() > 99.9: + if battery.status() == 'Full': self.output = { "full_text": "" }