If you are using an Apple device running iOS 15 (iPhone, iPod, or iPads), you would notice that the brightness of the device is auto-adjusted based on the environmental fluctuations in lighting (the auto-brightness feature is on by default for any new device you purchase).
If you do not want the device to automatically increase or decrease the brightness of your iOS device you can turn it off by going to the Settings App -> Accesiblity -> Display & Test Size, Scroll down and turn off "Auto-Brightness"

Note: As you can see in the sub-text below the Auto-Brightness button in the above screenshot, turning off auto-brightness may affect the battery life and long-term display performance.
iOS devices contain the ambient light sensor using which the device can adjust the brightness levels of the device based on the light conditions around you, if you are in outside bright sunlight you would see that the screen brightness is auto-adjusted to high levels, so does the sensor lowers the brightness when you are in a dark place - say using the phone in your bed while the lights are turned off, at night.
When auto-brightness is turned off, you'll notice that the brightness slider on your device does not move according to changing light conditions.
โ๏ธThe battery life of your iOS device would vary significantly based on how you set the brightness of your device - read more on - https://support.apple.com/en-in/HT202613#brightness
- Turn Off Auto-Brightness on iPhone running iOS 16
- [fix] iCloud - Verification Failed: An unknown error occurred Apple ID
- How to initiate a photo request on iPhone from Mac Monterey
- What does has notifications silenced in Messages App mean in iPhone
- Release Date and iPhone Devices that will Support iOS 16
- How to Show Battery Percentage inside iPhone 12-14 Battery Indicator?
- How to clear Cache, Cookies and History on iPhone Safari
- How to Sync iPhone with iPad
- How to know the MAC address of iPhone/iPad Wifi
- How to reset AirPods or AirPods Pro using iPhone/iPad or iPod
- Xcode 13 - unknown error compiling for iOS 15.0 but module has a minimum deployment target of iOS 15.2
- How to Auto Click Mouse on Mac every X Seconds - MacOS
- Where does brew install python in macOS - Python
- Multiple ways to Convert tabs with spaces in Notepad++ - NotepadPlusPlus
- Locate MainActivity Java or Kotlin file in Android Studio - Android-Studio
- Auto Execute a command or script on Mac Terminal Startup - MacOS
- How to Change Eclipse Default Web Browser - Eclipse
- Quick steps to install Nginx on Ubuntu Linux - Ubuntu
- How to comment code in Python - Python