battery full

This commit is contained in:
Argish42 2014-08-28 00:28:23 +02:00
parent cff7e1a45b
commit c91c792a7d

View File

@ -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(),