https://bugs.kde.org/show_bug.cgi?id=489073

            Bug ID: 489073
           Summary: Allow hiding power profiles from the Power and Battery
                    applet for systems that don't support it
    Classification: Plasma
           Product: plasmashell
           Version: 6.1.0
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: Battery Monitor
          Assignee: plasma-b...@kde.org
          Reporter: anhollander...@gmail.com
                CC: k...@privat.broulik.de, m...@ratijas.tk,
                    natalie_clar...@yahoo.de
  Target Milestone: 1.0

Created attachment 170884
  --> https://bugs.kde.org/attachment.cgi?id=170884&action=edit
This is what the applet looks like when power-profiles-daemon is installed and
running on an unsupported system.

SUMMARY
It is not possible to disable showing power profiles in the Power and Battery
applet while keeping the battery information, for systems that don't support
it. Uninstalling power-profiles-daemon or masking power-profiles-daemon.service
causes the applet to nag you to install it. Installing PPD causes the applet to
say that power profiles are unavailable. This information isn't something the
user needs to see every time they open the applet, yet it can't be disabled.

STEPS TO REPRODUCE
1. Install Plasma on a system that doesn't support hardware P-states with e.g.
the intel_pstate or amd_pstate driver. Alternatively, compile a kernel with it
disabled (this requires disabling CPUFreq entirely, at least for intel_pstate).
2. Install power-profiles-daemon. You don't have to enable the service because
it gets started automatically over D-bus, but you can.

OBSERVED RESULT
The Power and Battery applet has no configuration panel, and instead opens up
the main Power Management panel when you click configure. Observe that there is
no option to hide the power profiles setting. (It's worth noting that if PPD is
not installed, then the option to switch power profiles on AC/battery is
hidden. That's a good thing; an option that does nothing shouldn't be shown.)

EXPECTED RESULT
There should be a way to hide the unwanted, and in this case useless,
information.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Fedora 40
(available in About System)
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
I think a better option is to not only allow the user to hide power profiles
from the applet, but also to move the warning banner that shows when
power-profiles-daemon is not installed from the applet to the Power Management
System Settings panel, in the style of other warning banners such as
recommending enabling display scaling when large font sizes are used.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to