Bugzilla – Bug 1221903
Low battery display and keyboard brightness settings not being written to powerdevilrc
Last modified: 2024-03-25 21:54:34 UTC
When setting the display and keyboard brightness on KDE power settings I'm expecting them to be written inside powerdevilrc like so: [LowBattery][Display] DisplayBrightness=100 UseProfileSpecificDisplayBrightness=true [LowBattery][Keyboard] KeyboardBrightness=100 Instead nothing is written, in fact the display settings only appear when deactivating brightness for low battery like so: [LowBattery][Display] UseProfileSpecificDisplayBrightness=false
I also noticed that the AC keyboard brightness is written to powerdevilrc no matter what, and UseProfileSpecificKeyboardBrightness is written only when keyboard brightness is ticked in the settings, this is inconsistent with the Display behavior.
It's very likely that any bug here is an upstream KDE bug - there are no openSUSE patches in the package sources: `osc ls KDE:Frameworks powerdevil6`. If you can find a way to reproduce the bug, I suggest you report it at bugs.kde.org. I'll comment on your Reddit post about the general approach. I am unable to reproduce it myself. On Plasma 6.0.2, Leap 15.5. I just set the AC brightness sliders to 6%, the Battery sliders to 15%, and the Low Battery Sliders to 8%, and unchecked all 6 Change * brightness checkboxes, disabling this sliders, and clicked Apply, this is the result, they are all written to the expected places: [AC][Performance] PowerProfile=power-saver [AC][SuspendAndShutdown] AutoSuspendAction=0 [Activities][13880bbe-f676-4b7c-bd0e-2832cb4607e8] InhibitSuspend=true [Activities][8ee22078-da9d-4340-9012-a00f9a567642] InhibitScreenManagement=false InhibitSuspend=false [Activities][c22ae493-0f77-4e9c-a325-864f12f91dd8] InhibitScreenManagement=false InhibitSuspend=false [Battery][Display] DimDisplayIdleTimeoutSec=60 DisplayBrightness=90 TurnOffDisplayIdleTimeoutSec=120 UseProfileSpecificDisplayBrightness=true [Battery][Keyboard] KeyboardBrightness=45 UseProfileSpecificKeyboardBrightness=true [Battery][Performance] PowerProfile=balanced [Battery][SuspendAndShutdown] AutoSuspendIdleTimeoutSec=300 InhibitLidActionWhenExternalMonitorPresent=false [BatteryManagement] BatteryCriticalAction=8 BatteryCriticalLevel=3 BatteryLowLevel=20 [LowBattery][Display] DisplayBrightness=40
Sorry, previous paste was truncated. There does seem to be something weird about whether the checkbox values are written, but the Brightness settings are present: [AC][Display] DisplayBrightness=6 [AC][Keyboard] KeyboardBrightness=6 [AC][Performance] PowerProfile=power-saver [AC][SuspendAndShutdown] AutoSuspendAction=0 [Activities][13880bbe-f676-4b7c-bd0e-2832cb4607e8] InhibitSuspend=true [Activities][8ee22078-da9d-4340-9012-a00f9a567642] InhibitScreenManagement=false InhibitSuspend=false [Activities][c22ae493-0f77-4e9c-a325-864f12f91dd8] InhibitScreenManagement=false InhibitSuspend=false [Battery][Display] DimDisplayIdleTimeoutSec=60 DisplayBrightness=15 TurnOffDisplayIdleTimeoutSec=120 [Battery][Keyboard] KeyboardBrightness=15 [Battery][Performance] PowerProfile=balanced [Battery][SuspendAndShutdown] AutoSuspendIdleTimeoutSec=300 InhibitLidActionWhenExternalMonitorPresent=false [BatteryManagement] BatteryCriticalAction=8 BatteryCriticalLevel=3 BatteryLowLevel=20 [LowBattery][Display] DisplayBrightness=5 UseProfileSpecificDisplayBrightness=false [LowBattery][Keyboard] KeyboardBrightness=5 [LowBattery][Performance] PowerProfile=power-saver [LowBattery][SuspendAndShutdown] InhibitLidActionWhenExternalMonitorPresent=false