On Linux, when laptop is connected to AC power (or disconnected) the screen brightness changes. How can I avoid it?

It's not always brighter with AC. If I increase brightness on battery and then plug in, the screen gets darker. Apparently the last value on AC is restored. So the system remembers two values and switches between them. I'd rather have only one.

I don't know if it is desktop specific. I've had this problem on both XFCE and MATE.

When searching for an answer I've only found a similar request for Linux Mint, and the same question on SU but for Windows.

  • I found this on askubuntu, maybe it's of some help: askubuntu.com/questions/18603/… – micwallace Mar 19 '14 at 2:15
  • thanks @micwallace, it's helpful. It doesn't work for me, but I'll try to experiment with these settings. – marcin Mar 19 '14 at 13:05

Just try to set the same level of brightness when on battery and when on AC power once and you won't notice any change.

|improve this answer|||||
  • 1
    I'm adjusting brightness a few times a day when external light changes. The problem is that I need to change it again after plugging/unplugging. – marcin Mar 19 '14 at 9:36
  • Sorry, but I don't know. – Devesh Khandelwal Mar 19 '14 at 15:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.