You unplug to move to the sofa and the screen drops a notch. If that bothers you, there is a switch for exactly that.
System Settings > Battery > Options
Slightly dim the display on battery: off
With it off, the display keeps the brightness you chose when the charger comes out. You can still turn it down yourself with the brightness keys whenever you want to stretch the battery.
I find this one worth a look for photo work especially. Judging how dark a picture is gets hard when the screen quietly changes under you, and the same goes for comparing colors during a design review.
The trade is battery life. The display is one of the bigger users of power in a laptop, so a brighter screen means reaching for the charger sooner. On a long train ride I would leave the dimming on, or just lower the brightness by hand.
If the screen keeps changing even with this off, it may be something else: automatic brightness reacting to the light in the room is a separate setting under Displays. Low Power Mode, found on the main Battery page, is another thing that can change how the machine behaves on battery.
Further reading: Change Battery settings on a Mac laptop