Hello,
About brightness levels
iOS devices use an ambient light sensor to adjust brightness levels based on the light conditions around you. The sensor lowers brightness in dark locations and raises brightness in light locations. The auto-brightness feature is on by default.
When auto-brightness is on, you'll notice that your device's brightness slider moves according to changing light conditions.
In iOS 11, you can turn auto-brightness on or off in Settings > General > Accessibility > Display Accommodations. In iOS 10 and earlier, go to Settings > Display & Brightness.
Here's more info:
Adjust the brightness on your iPhone, iPad, or iPod touch - Apple Support