screen brightness resets to max after reboot (linux)

Running ubuntu 19.04 with nvidia-graphics-drivers-418 official drivers. I can adjust backlight brightness on my notebook, but when I reboot or poweroff and turn on again, brightness resets to maximum each single time (100). On Windows 10 doesn’t happen, it keeps the previous session backlight level.
I believe this is more a software rather than a hardware thing, any possibility to get it fixed? It’s quite a bit annoying.

The driver doesn’t fiddle with the brightness, the state should be saved/restored by the systemd-backlight service. Might have to be adjusted for your hardware:
https://wiki.archlinux.org/index.php/backlight#Save/Restore_functionality

I’ts some ubuntu bug then.

It’s a known issue:
https://bugs.launchpad.net/ubuntu/+source/nvidia-settings/+bug/1840592

Are there more than one backlight controls, i.e. what’s the output of
systemctl list-units --no-pager |grep “systemd-backlight”

I have two graphics cards on the MSI notebook, the Intel graphics provided by the intel hq, and the gtx 1080, which can be enabled or disabled on the BIOS, setting called “MSI VGA MODE”, and can be either “MSI IGPU MODE” or “MSI DGPU MODE”.

When DGPU enabled (GTX 1080), this is the result:

systemctl list-units --no-pager |grep "systemd-backlight" 
  systemd-backlight@backlight:acpi_video0.service                                                            loaded active     exited    Load/Save Screen Backlight Brightness of backlight:acpi_video0               
  systemd-backlight@backlight:nvidia_0.service                                                               loaded active     exited    Load/Save Screen Backlight Brightness of backlight:nvidia_0

Try masking one of them, e.g.
sudo systemctl mask systemd-backlight@backlight:nvidia_0.service
and check if brightness save/restore works. If not, unmask it and mask the other one, test again.

Neither of them work.