I suspect you're seeing this feature:
There are ambient light sensors which allow it to automatically adjust screen brightness. Sounds like that's what you are seeing. If you place both hands over right and left speaker grills, it should dim.
There's an option in the System Preferences -> Displays to enable or disable this feature.
For me, it tracks pretty close to what I would like, but sometimes I bump it up or down a bit. Even in auto, you can adjust it. It'll hold the setting until the next change in ambient lighting.
The other thing it might be is the "dim before sleep" option. See the System Preferences -> Energy Saver -> Options "Automatically reduce the brightness of the display before display sleep"