I've noticed this too, it's very frustrating. Gnome seems to see any minor state change as a
instance to revert the screen brightness based on the default plugged/unplugged brightness.
These seems to be absolutely no consideration for preserving the brightness level when it was
manually adjusted by the user. I'm really glad the editor brought up this issue, hopefully it
will draw some attention to improving it.