mirror of
https://github.com/powerline/powerline.git
synced 2025-09-25 19:09:10 +02:00
Merge pull request #1524 from mrshu/mrshu/fix-dbus-battery-status
fix: Make dbus battery status consistent
This commit is contained in:
commit
6d7f242e1b
@ -57,7 +57,7 @@ def _fetch_battery_info(pl):
|
||||
dbus.Interface(dev, dbus_interface=devinterface).Get(
|
||||
devtype_name,
|
||||
'State'
|
||||
) == 1
|
||||
) != 2
|
||||
)
|
||||
pl.debug('Not using DBUS+UPower as no batteries were found')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user