馃崚 applets/batterymonitor: Fix property names to show the right tool-tip text
Original commit message(s)
- applets/batterymonitor: Fix property names to show the right tool-tip text
Power profile holds by other applications should now be mentioned in the tool-tip instead of "System is in mode; scroll to change".
(cherry picked from powerdevil commit c04880d123b7bf0fd5f25e1e8dba7b67cac18f60)
Reason for the change
Backport of powerdevil!410 (merged) for Plasma/6.1. The battery applet used to be in plasma-workspace, so that's where the backport goes.
Test plan
- Run an application that requests a different power profile, e.g.
kdesrc-build kwin --refresh-build --no-include-dependencies
- Check the tooltip text on the battery applet (which now shows as a lightning icon) to mention that "An application has requested activating Performance mode".
Bugs fixed
Not aware of any in Bugzilla.