Fix battery var, thanks to RWH
This commit is contained in:
parent
8af15d4e73
commit
9d860bd5b1
@ -47,7 +47,7 @@ class DeviceView(canvasicon.CanvasIcon):
|
|||||||
if self._model.props.charging:
|
if self._model.props.charging:
|
||||||
status = _STATUS_CHARING
|
status = _STATUS_CHARING
|
||||||
elif self._model.props.discharging:
|
elif self._model.props.discharging:
|
||||||
status = _STATUS_DISCHARING
|
status = _STATUS_DISCHARGING
|
||||||
else:
|
else:
|
||||||
status = _STATUS_FULLY_CHARGED
|
status = _STATUS_FULLY_CHARGED
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user