I found the cause of the problem, which is that for some reason update-manager starts a gnome-power-manager instance as root, which then is responsable for the backlight change.
I found the cause of the problem, which is that for some reason update-manager starts a gnome-power-manager instance as root, which then is responsable for the backlight change.