Files
device_xiaomi_sm6250-common/lights/lights-xiaomi_atoll.rc
Sebastiano Barezzi 3e5d95cd3b sm6250-common: lights: Wire it up
* Heavily inspired by CAF liblights
* Also properly implemented white LED support
* Added chowns where needed (AOSP init.rc already sets some)

Change-Id: Ib9ff8accb163563e19d754f581805bde586d30a9
2021-09-09 18:46:21 +02:00

11 lines
361 B
Plaintext

on early-boot
chown system system /sys/class/leds/white/breath
chown system system /sys/class/leds/white/brightness
chown system system /sys/class/backlight/panel0-backlight/brightness
service vendor.light-xiaomi_atoll /vendor/bin/hw/android.hardware.lights-service.xiaomi_atoll
class hal
user system
group system
shutdown critical