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

            Bug ID: 439315
           Summary: Power management inhibition cannot be disabled
           Product: Powerdevil
           Version: 5.22.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: popov...@ukr.net
  Target Milestone: ---

SUMMARY

In the "Battery and Brightness" applet, after unchecking the "Inhibit automatic
sleep and screen locking" checkbox, the power management inhibition remains
active. Only restarting plasmashell resets all inhibitions.

I found, that after unchecking the above checkbox, PlasmaCore.DataSource for
the "powermanagement" engine still contains the "plasmashell" inhibition
(https://invent.kde.org/plasma/plasma-workspace/-/blob/master/applets/batterymonitor/package/contents/ui/logic.js#L77).

STEPS TO REPRODUCE

1. Open "System Settings"
2. Go to "Power Management" > "Energy Saving"
3. Check "Dim screen" checkbox and set delay to 1 minute
4. Open "Battery and Brightness" applet
5. Check the "Inhibit automatic sleep and screen locking" checkbox to enable
power management inhibition and wait a few seconds (it takes a few seconds to
turn it on)
6. Uncheck the above checkbox to disable power management inhibition
7. Wait 1 minute until the screen goes dim

OBSERVED RESULT

The screen doesn't dim.

EXPECTED RESULT

The screen dims.

SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20210626
KDE Plasma Version: 5.22.1
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Graphics Platform: X11

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

Reply via email to