Merge pull request #1524 from mrshu/mrshu/fix-dbus-battery-status

fix: Make dbus battery status consistent
This commit is contained in:
Nikolai Aleksandrovich Pavlov 2016-02-08 00:20:56 +03:00
commit 6d7f242e1b
1 changed files with 1 additions and 1 deletions

View File

@ -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')