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

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Battery icon keeps being    |With power profiles not
                   |shown in system tray when   |available, battery icon
                   |fully charged after update  |keeps being shown in system
                   |to Plasma 6.2.0             |tray when fully charged
                   |                            |after update to Plasma
                   |                            |6.2.0
     Ever confirmed|0                           |1
             Status|REPORTED                    |CONFIRMED
           Keywords|                            |regression

--- Comment #13 from Nate Graham <n...@kde.org> ---
Ahh I see the problem:

    Plasmoid.status: {
        if (inhibitionControl.isManuallyInhibited ||
!powerProfilesControl.isInDefaultPowerProfile) {
            return PlasmaCore.Types.ActiveStatus;
        }

We're not checking for whether power profiles are actually installed and
available. When they're not, all the properties for them are false, and
inverting the false becomes true, and boom, the applet becomes active.

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

Reply via email to