battery full
This commit is contained in:
parent
cff7e1a45b
commit
c91c792a7d
@ -171,6 +171,12 @@ class BatteryChecker(IntervalModule):
|
|||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if battery.percentage() > 99.9:
|
||||||
|
self.output = {
|
||||||
|
"full_text": ""
|
||||||
|
}
|
||||||
|
return
|
||||||
|
|
||||||
fdict = {
|
fdict = {
|
||||||
"battery_ident": self.battery_ident,
|
"battery_ident": self.battery_ident,
|
||||||
"percentage": battery.percentage(),
|
"percentage": battery.percentage(),
|
||||||
|
Loading…
Reference in New Issue
Block a user