Why does my screen go dim after a while?
If it is possible to set the brightness of your screen, it will dim when the computer is idle in order to save power. When you start using the computer again, the screen will brighten.
To stop the screen from dimming itself:
Open the Activities overview and start typing Power.
Click Power to open the panel.
Switch the Dim Screen When Inactive switch to off in the Power Saving section.