Brightness changes when unplug charger

Hello there,

Since I installed Manjaro, everything is working smoothly, but I’m having an issue with the Brightness, it depends on if I boot when the laptop is plugged or unplugged, if I unplug after boot or plug and the laptop after boot, the brightness goes down, and the settings aren’t fixed with

    xrandr --output eDP --brightness 1

It looks darker since the first occasion.

Any Ideas?