Bug 438415

Summary: Incorrect brightness applied after low battery event set brightness
Product: [Plasma] plasmashell Reporter: elman <elman>
Component: Power management & brightnessAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kdedev, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 6.2.4   
Target Milestone: 1.0   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description elman 2021-06-10 14:23:03 UTC
SUMMARY
Maximum brightness is wrongly calculated after brightness has been set by low battery setting.

STEPS TO REPRODUCE
1. Set Energy Saving to reduce brightness to 10 % when on low battery.
2. Set screen brightness to 40 %.
3. Wait until low battery rule kicks in and sets brightness to 10 %.
4. Plug in notebook.
5. Increase brightness to 100 %.

OBSERVED RESULT
At 100 % brightness screen is not as bright as it usually is. I assume 100 % now equals to 40 % brightness I had set prior low battery action. 

EXPECTED RESULT
Brightness should be correctly applied after low battery action.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro unstable
KDE Plasma Version: 5.22.0
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I had no problem with 5.21.x.

Also would it be possible to implement feature that would restore previous brightness after I connect power source after being in low battery mode? Meaning I have 40 %, low battery mode sets it to 10 %, when I connect power source, brightness is automatically set back to 40 %.
Comment 1 TraceyC 2025-03-06 21:14:53 UTC
There have been a lot of improvements and bug fixes to brightness control since this report was opened. If you still are experiencing a bug, please open a new report. Thanks.