How to disable automatic brightness adjustment in Ubuntu 14.04?

I am running Ubuntu 14.04 LTS on a Dell 3542 laptop. My problem is that screen brightness changes depending on content. I think this is called automatic (or dynamic) brightness adjustment, as I stated in the title. This means that the screen gets brighter when the contents are white (for example when I open my browser) and it gets dimmer when the contents are dark (for example when I open the terminal). This can easily be seen when I open a white window and a black window and I proceed to move the black window in and out of the screen, so the brightness constantly changes.

I have done a fair amount of research, and the issue seems to have something to do with the power saving feature of the graphics card. This issue seems to be resolved in windows environments, but I have not found a solution for Ubuntu.

You should also know that this issue appears only when I run the laptop on battery, and disappears as soon as I plug it in. This probably means it has something to do with power saving.

The graphics card is a Nvidia GeForce 840M, and its control center in Linux does not have an option to disable power save (or to tackle the issue) whatsoever.

All in all, the constant brightness adjustment is quite annoying, to the point that I have to plug my machine in in order to use it for extended periods of time.

Any help would be greatly appreciated.


Solution 1:

According to https://ubuntuforums.org/showthread.php?t=2021064 :

  1. Click on system settings,

  2. Click on 'brightness and lock' in the menu,

  3. Uncheck the option ' dim screen to save power'.

If that doesn't work:

Open up your terminal and run:

sudo nano /etc/modprobe.d/blacklist

Then at the very end of the file add:

blacklist video

Solution 2:

From Ubuntu Website laptops with integrated light sensors can be controlled through the Settings -> Power -> Automatic Brightness option.

Additionally you usually can completely turn off the ambient light sensor in BIOS which I believe most people would do who are annoyed by the feature.