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…
Reference in New Issue