Only send low peripheral battery notification when in discharging state

Authored by drosca on Dec 31 2017, 10:07 AM.

Description

Only send low peripheral battery notification when in discharging state

Otherwise this notification is sent when connecting devices
with "unknown" battery state (State = 0 in upower).

Differential Revision: https://phabricator.kde.org/D9575

Details

Committed
droscaJan 10 2018, 2:33 PM
Differential Revision
D9575: Only send low peripheral battery notification when in discharging state
Parents
R122:899e5f382209: Remove obsolete reviewboardrc file
Branches
Unknown
Tags
Unknown