Screen brightness at 100% on startup

I’m having “an issue” that is my laptop always start with brightness set to 100%. Keys to manually set it up do work but as soon as I reboot I’m back at 100%. I’m on Gnome with Gdm.

Is there anything I can do regarding this? Otherwise I’ll just probably make a systemd unit for that.

Systemd is supposed to save the brightness level on shutdown and restore it during bootup. Curious why that’s not working. systemd-backlight@.service(8) - Linux manual page

1 Like

Logs do not show errors. Is there something else I could be looking for ?

janv. 21 14:55:29 sunbase systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:amdgpu_bl1...
░░ Subject: A start job for unit systemd-backlight@backlight:amdgpu_bl1.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit systemd-backlight@backlight:amdgpu_bl1.service has begun execution.
░░ 
░░ The job identifier is 365.
janv. 21 14:55:30 sunbase systemd[1]: Finished Load/Save Screen Backlight Brightness of backlight:amdgpu_bl1.
░░ Subject: A start job for unit systemd-backlight@backlight:amdgpu_bl1.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit systemd-backlight@backlight:amdgpu_bl1.service has finished successfully.
░░ 
░░ The job identifier is 365.

Yea that’s strange. It saves during shutdown via the unit’s ExecStop, so I’m guessing the problem lies there.

Rubber duck programming.

Thank you very much, I got bit by my impermanence setup, I was not preserving /var/lib/systemd/backlight.

1 Like

And I was always wondering why that wasn‘t saved :see_no_evil:

1 Like