You can activate Adaptive brightness using the following methods:
Go to “Settings” -> “Display” -> “Adaptive brightness”.
Or swipe down from the status bar -> touch the icon .
Your screen brightness will automatically adjust to your environment and activities.
You can move the slider manually to help adaptive brightness learn your preference.