All Macs have an ambient light sensor that is used to auto-adjust your display brightness. If you don’t want to use this function and set the brightness manually you can simply:
1. Click on Mac Icon and click on “System Preferences”
2. Click on Display icon
3. Uncheck the “Automatically adjust brightness”
That should be all. Have fun!