diff options
| author | Ricardo Cerqueira <ricardo@cyngn.com> | 2015-10-01 12:12:41 +0100 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-05-08 11:52:57 -0700 |
| commit | 6b930f6a717585c0b801ba57477c8cbc30559d9f (patch) | |
| tree | 2990e581105588b749a65f06c17514b6cd3e3c21 | |
| parent | 5efde5664c9a49906843e31befbbccb2b2729ffd (diff) | |
init: Enable backlight trigger for LCD
Disable backlight when blanked out.
Ref: CRACKLING-626
Change-Id: Ifc698c1470b086b0e1f083c3c234f272988d108c
| -rw-r--r-- | rootdir/etc/init.qcom.rc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 5ccb585..88ec493 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -35,6 +35,9 @@ on early-init mkdir /system 0777 root root symlink /data/tombstones /tombstones + # Turn off backlight on blank + write /sys/class/leds/lcd-backlight/trigger "backlight" + on init # Set permissions for persist partition mkdir /persist 0771 system system |
