on boot
    # Notification LED
    chown system system /sys/class/leds/white/blink
    chown system system /sys/class/leds/white/brightness
    chown system system /sys/class/leds/white/duty_pcts
    chown system system /sys/class/leds/white/max_brightness
    chown system system /sys/class/leds/white/pause_hi
    chown system system /sys/class/leds/white/pause_lo
    chown system system /sys/class/leds/white/ramp_step_ms
    chown system system /sys/class/leds/white/start_idx

    chown system system /sys/class/leds/button-backlight/max_brightness
    chown system system /sys/class/leds/button-backlight1/brightness
    chown system system /sys/class/leds/button-backlight1/max_brightness

    chown system system /sys/class/leds/lcd-backlight/max_brightness

service vendor.light /vendor/bin/hw/android.hardware.lights-service.xiaomi_sdm660
    class hal
    user system
    group system
    shutdown critical
    writepid /dev/cpuset/system-background/tasks
