I run arch with bspwm on a Lenovo a275 using amdgpu drivers and i am very new to linux. I can adjust screen brightness with the xrandr --output MONITORNAME --brightness VALUE command.
This works fine on battery and with the charger connected. But when I plug/unplug the charger the screen dims...