Skip to content

馃崚 applets/batterymonitor: Fix property names to show the right tool-tip text

Jakob Petsovits requested to merge work/jpetso/hold-on-backport into Plasma/6.1

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

  1. Run an application that requests a different power profile, e.g. kdesrc-build kwin --refresh-build --no-include-dependencies
  2. 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.

Merge request reports