To set your screen's brightness any time, open quick settings and slide 
Your phone uses Adaptive brightness to automatically adjust your screen to the light around you. When the feature is on, you can still fine tune the brightness in quick settings.
To turn Adaptive brightness on or off, go to Settings > Display > Adaptive brightness.

If the brightness slider 
Use extra brightness when you:
The bump in brightness uses a lot of battery power (and can cause eye strain in darker environments), so when you don’t need extra brightness, turn it off.
To adjust this setting:


You can also make the screen extra dim if the slider in quick settings doesn't go low enough.
Adaptive brightness uses the ambient light sensor to adjust your display brightness automatically. When you change the brightness slider, your phone learns your preferred levels for various lighting environments. Ideally, you’ll need to use the slider less and less.
If Adaptive brightness stops working as desired, you can reset it and then retrain it.

If you prefer to manually adjust brightness, go to Settings > Display > Adaptive brightness and turn Use adaptive brightness off 
If Battery saver is on, the screen dims when the battery gets low.