Bug 496042

Summary: Brightness doesn't follow "With energy adapter" setting when recovering from unstable/insufficient electricity levels.
Product: [Applications] systemsettings Reporter: Fernando M. Muniz <fernandommuniz>
Component: kcm_powerdevilAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, kde, natalie_clarius
Priority: NOR    
Version First Reported In: 6.3.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: I had to disconnect and reconnect the charging cable to make the system increase brightness.
Issue on Plasma 6.3.1

Description Fernando M. Muniz 2024-11-10 06:46:57 UTC
I used my notebook without charging until it went under 5% battery (that makes the brightness very low) and then it crashed into the kernel, then I forced a shutdown but the screen is still at low brightness even fully charged.

Is the battery settings designed to revert all battery changes upon charging beyond the percentage that caused it?
Comment 1 Fernando M. Muniz 2024-11-11 05:32:59 UTC
Noticed that this is a setting disabled by default, so even though I disagree, it's intentional.
Comment 2 Fernando M. Muniz 2024-12-02 10:06:49 UTC
It seems there is a bug after all.

The bug seems to be that the brightness only changes when the charger gets connected.
Which means that if your home's electricity is low due to storms, then the notebook goes to low battery, the brightness doesn't go back to normal because the charger was always connected.

I've unplugged and plugged the charger again and the brightness returned.
Comment 3 Fernando M. Muniz 2024-12-02 12:10:17 UTC
The change to "With energy adapter" setting should happen when the battery is receiving sufficient electricity.
Comment 4 Fernando M. Muniz 2024-12-03 09:35:06 UTC
Seems like the computer has to shutdown due to low battery while the charger is connected but giving insufficient energy for this issue to happen after properly charging.
Comment 5 Fernando M. Muniz 2024-12-03 17:05:43 UTC
Created attachment 176326 [details]
I had to disconnect and reconnect the charging cable to make the system increase brightness.
Comment 6 Fernando M. Muniz 2025-02-26 04:38:27 UTC
Created attachment 178886 [details]
Issue on Plasma 6.3.1
Comment 7 Fernando M. Muniz 2025-02-28 19:22:12 UTC
It's very easy to reproduce this issue by having 10% or less battery, suspending the system, plugging the charger, then logging back in.
The brightness should be low even when charging the battery.
Comment 8 Fernando M. Muniz 2025-09-09 03:57:39 UTC
Still happens. The system suspended when going down to 5%, I plugged the energy cable, logged into my account, but the brightness is the same.
I assume that the command to increase the brightness is not received when the system is automatically suspended due to low battery levels.

Operating System: Arch Linux 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.16.4-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 9 GB of RAM (8.1 GB usable)
Graphics Processor 1: Mesa Intel® Iris® Xe Graphics
Graphics Processor 2: llvmpipe
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6
Comment 9 Fernando M. Muniz 2025-09-25 22:54:40 UTC

*** This bug has been marked as a duplicate of bug 507203 ***