mart created this revision. mart added a reviewer: Plasma. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY if there is no battery don't show 0%, but a - on the badge. still show the badge to show the option is not broken, but don't show a weird 0% of a non existing battery TEST PLAN works on both systems with or without battery REPOSITORY R120 Plasma Workspace BRANCH phab/batterybadge REVISION DETAIL https://phabricator.kde.org/D4606 AFFECTED FILES applets/batterymonitor/package/contents/ui/BadgeOverlay.qml applets/batterymonitor/package/contents/ui/CompactRepresentation.qml EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: mart, #plasma Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol