Re: [PATCH v3] apple-gmux: preserve brightness using EFI

From: Armin Wolf

Date: Sun Mar 15 2026 - 18:54:57 EST


Am 15.03.26 um 23:08 schrieb Atharva Tiwari:

Systemd seems to already store the backlight brightness during shutdown/reboot, so maybe
having a small oneshot service that synchronizes those values with the EFI variable during
shutdown/reboot might be easier?
This is logical only if we assume every system uses systemd, and that isint the case, and trying
to port the same logical to every alternative to systemd will take more time and effort, than to just
embed this logic in the kernel.

Such a daemon should also work with other init systems, it only needs to handle SIGTERM.

Thanks,
Armin Wolf