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
I have the same problem with the battery and brightness widget on the panel. Once you uncheck the setting, you cannot re-enable automatic sleep and screen locking by simply re-checking the setting. You must also restart the plasma shell by logging out and logging back in. Operating System: KDE neon 5.22 KDE Plasma Version: 5.22.2 KDE Frameworks Version: 5.83.0 Qt Version: 5.15.3 Kernel Version: 5.8.0-59-generic (64-bit) Graphics Platform: X11
(In reply to storagebin95 from comment #1) > I have the same problem with the battery and brightness widget on the panel. > Once you check the setting, you cannot re-enable automatic sleep and > screen locking by simply unchecking the setting. You must also restart the > plasma shell by logging out and logging back in. > > Operating System: KDE neon 5.22 > KDE Plasma Version: 5.22.2 > KDE Frameworks Version: 5.83.0 > Qt Version: 5.15.3 > Kernel Version: 5.8.0-59-generic (64-bit) > Graphics Platform: X11
*** This bug has been marked as a duplicate of bug 433675 ***