Bug 456215

Summary: When booting on battery and plugging in power lead the brightness drops to minimum but only on the first time each boot
Product: [Plasma] plasmashell Reporter: Dave Morley <davmor2>
Component: Power management & brightnessAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: bugs_kde_org.5.kuru, kdedev, nate, svs1957
Priority: NOR    
Version First Reported In: 6.2.4   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Power On Power Settings
Battery settings
With power plugged in

Description Dave Morley 2022-07-01 18:04:44 UTC
SUMMARY
Brightness still dimming on initial power connection.  However remains at the level set on subsequent lead plug ins.



STEPS TO REPRODUCE
1. Power on the laptop on battery
2. Plug in the power lead
3. Unplug the power lead
4. Plug in the power lead

OBSERVED RESULT
From a fresh boot the screen dims to minimum when plugged in
On subsequent lead plug ins the screen doesn't dim

EXPECTED RESULT
I expect the screen to remain at the correct brightness

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.25
KDE Plasma Version: 5.25.2
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5
Kernel Version: 5.13.0-52-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx
Memory: 9.7 GiB of RAM
Graphics Processor: AMD Radeon™ Vega 10 Graphics
Manufacturer: LENOVO
Product Name: 81NC
System Version: Lenovo IdeaPad S340-15API


ADDITIONAL INFORMATION
Comment 1 Dave Morley 2022-07-01 18:10:57 UTC
Relates to https://bugs.kde.org/show_bug.cgi?id=455960
Comment 2 Nate Graham 2022-07-05 16:33:08 UTC
Cannot reproduce on Wayland or X11.

Can you attach screenshots of your settings for the "On AC Power" and "On Battery" tabs?
Comment 3 Dave Morley 2022-07-14 19:29:40 UTC
Sorry for the delay  Attaching them now
Comment 4 Dave Morley 2022-07-14 19:30:19 UTC
Created attachment 150629 [details]
Power On Power Settings
Comment 5 Dave Morley 2022-07-14 19:31:32 UTC
Created attachment 150630 [details]
Battery settings
Comment 6 Dave Morley 2022-07-14 19:33:18 UTC
Created attachment 150631 [details]
With power plugged in
Comment 7 Nate Graham 2022-07-15 21:22:07 UTC
Thanks.

Does the issue go away if you check the checkbox for "Screen brightness" on the "On AC Power" and "On Battery" tabs?
Comment 8 Dave Morley 2022-07-15 21:28:29 UTC
   I'll give it a go when I am back home
   On 15 Jul 2022 22:22, Nate Graham <bugzilla_noreply@kde.org> wrote:

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

     --- Comment #7 from Nate Graham <nate@kde.org> ---
     Thanks.

     Does the issue go away if you check the checkbox for "Screen
     brightness" on the
     "On AC Power" and "On Battery" tabs?

     --
     You are receiving this mail because:
     You reported the bug.
Comment 9 Dave Morley 2022-07-22 17:47:34 UTC
Hi Nate

With the power options enabled for the screen brightness it still tries to dim but then comes back up to the correct brightness.  There is a flash of the dimmed screen of about 1 second.
Comment 10 Nate Graham 2022-07-22 18:15:51 UTC
That seems relevant. Seems like there's some default action that's getting executed that shouldn't.
Comment 11 BOF 2022-08-19 18:44:37 UTC
I have the same issue: The screen brightness is dimmed when the power plug is put in for the first time.

ADDITIONAL INFORMATION
When I plug in the power cord on the lock screen the brightness is dimmed and I can not use the keyboard buttons to brighten the screen up. This makes using the laptop in a bright room practically impossible since I can't even see weather I'm typing the password or not.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.25
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.15.0-46-generic (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics
Memory: 30.8 GiB of RAM
Graphics Processor: AMD RENOIR
Manufacturer: Micro-Star International Co., Ltd.
Product Name: Bravo 17 A4DDR
System Version: REV:1.0
Comment 12 TraceyC 2025-03-06 20:06:04 UTC
Is anyone still having this problem on Plasma 6.3.2 or later?
Comment 13 TraceyC 2025-03-06 20:18:22 UTC
*** Bug 440276 has been marked as a duplicate of this bug. ***
Comment 14 Bug Janitor Service 2025-03-21 03:46:49 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 15 Bug Janitor Service 2025-04-05 03:46:47 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.