Brightness changes when plugging and unplugging the charger

#################### inxi -Fxzc0 ########################

System:    Kernel: 5.8.6-1-MANJARO x86_64 bits: 64 compiler: N/A Desktop: GNOME 3.36.6 
           Distro: Manjaro Linux 
Machine:   Type: Laptop System: LENOVO product: 82B5 v: Lenovo Legion 5 15ARH05 serial: <filter> 
           Mobo: LENOVO model: LNVNB161216 v: SDK0J40688 WIN serial: <filter> 
           UEFI [Legacy]: LENOVO v: EUCN19WW date: 05/12/2020 
Battery:   ID-1: BAT0 charge: 59.0 Wh condition: 59.0/60.0 Wh (98%) model: Celxpert L19C4PC0 
           status: Full 
CPU:       Topology: 8-Core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 type: MT MCP 
           arch: Zen rev: 1 L2 cache: 4096 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 92657 
           Speed: 1398 MHz min/max: 1400/2900 MHz Core speeds (MHz): 1: 1669 2: 1996 3: 1733 
           4: 1453 5: 1517 6: 1539 7: 1739 8: 2537 9: 1412 10: 1410 11: 1406 12: 1564 13: 1420 
           14: 1413 15: 1442 16: 1451 
Graphics:  Device-1: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] vendor: Lenovo driver: nvidia 
           v: 450.66 bus ID: 01:00.0 
           Device-2: AMD Renoir vendor: Lenovo driver: amdgpu v: kernel bus ID: 05:00.0 
           Device-3: Chicony Integrated Camera type: USB driver: uvcvideo bus ID: 1-3:2 
           Display: x11 server: X.org 1.20.8 driver: amdgpu,nvidia resolution: <xdpyinfo missing> 
           OpenGL: renderer: AMD RENOIR (DRM 3.38.0 5.8.6-1-MANJARO LLVM 10.0.1) 
           v: 4.6 Mesa 20.1.7 direct render: Yes 
Audio:     Device-1: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 01:00.1 
           Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo 
           driver: snd_rn_pci_acp3x v: kernel bus ID: 05:00.5 
           Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel 
           bus ID: 05:00.6 
           Sound Server: ALSA v: k5.8.6-1-MANJARO 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo 
           driver: r8169 v: kernel port: 2000 bus ID: 03:00.0 
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: 2000 bus ID: 04:00.0 
           IF: wlp4s0 state: down mac: <filter> 
Drives:    Local Storage: total: 476.94 GiB used: 247.46 GiB (51.9%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HBJQ-000L2 size: 476.94 GiB 
Partition: ID-1: / size: 459.79 GiB used: 247.42 GiB (53.8%) fs: ext4 dev: /dev/nvme0n1p1 
Swap:      ID-1: swap-1 type: partition size: 8.80 GiB used: 41.5 MiB (0.5%) dev: /dev/nvme0n1p2 
Sensors:   System Temperatures: cpu: 47.6 C mobo: N/A gpu: amdgpu temp: 36 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 402 Uptime: 2h 08m Memory: 7.22 GiB used: 3.31 GiB (45.9%) Init: systemd 
           Compilers: gcc: 10.2.0 Packages: 1301 Client: shell wrapper v: 5.0.18-release 
           inxi: 3.1.05 

Whenever I plug or unplug the laptop charger the brightness changes to a very low setting. Does anybody have an idea of to prevent these kinds of changes?

Have you checked Gnome’s Power settings ?
https://help.gnome.org/users/gnome-help/stable/display-brightness.html.en

1 Like

Yeah, I’ve checked that. Nothing about changing brightness when the charger is plugged or unplugged.

I think this yet another problem with some AMD chipsets.

I’m experiencing it in a HP Envy x360 too, along with:

  • Can’t put my laptop to sleep since s3 is not implemented and s2idle (modern standby) is not supported yet.

  • The 4-pin jack is not able to detect the mic in my headset, which seems a codec/pin problem.

There are probably more, let’s hope in a year or so our laptops have aged well.

If it’s useful for you, I have a solution in a very quite unusual way, I have the same issue with a HP Pavilion and an AMD Radeon R5, I’ve tried everything in the Arch wiki and in Linux forums until accidentally unplugged my laptop when it was in black screen mode, after that, I’ve discovered that the :

  • Wait until your screen turns black by inactivity
  • Plug and unplug your laptop

I know it should be an AMD issue but hope if this casualty (I’ve been doing this for a few weeks and is working every time)

My girlfriend’s laptop has this exact issue, it’s a Lenovo Ideapad 3 with a Ryzen 5 3500U iirc. Whenever she plugs or unplugs the charger, brightness goes to minimum. Doesn’t happen on other distros.