From 6b930f6a717585c0b801ba57477c8cbc30559d9f Mon Sep 17 00:00:00 2001 From: Ricardo Cerqueira Date: Thu, 1 Oct 2015 12:12:41 +0100 Subject: init: Enable backlight trigger for LCD Disable backlight when blanked out. Ref: CRACKLING-626 Change-Id: Ifc698c1470b086b0e1f083c3c234f272988d108c --- rootdir/etc/init.qcom.rc | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3