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.