mako: notify touch driver when charger is connected
Notify the touch driver to enable noise mitigation
when charger is connected
Change-Id: I3bb910cecc1c411f1067aa94852f816ef7036571
diff --git a/init.mako.rc b/init.mako.rc
index b02d271..09a8168 100644
--- a/init.mako.rc
+++ b/init.mako.rc
@@ -266,6 +266,7 @@
chown system /sys/module/pm_8x60/modes/cpu2/standalone_power_collapse/idle_enabled
chown system /sys/module/pm_8x60/modes/cpu3/standalone_power_collapse/idle_enabled
chown system /sys/module/pm_8x60/modes/cpu0/power_collapse/idle_enabled
+ chown system /sys/devices/virtual/input/lge_touch/charger
on charger
# Enable Power modes and set the CPU Freq Sampling rates
@@ -301,7 +302,7 @@
on property:init.svc.wpa_supplicant=stopped
stop dhcpcd
-
+
service rmt_storage /system/bin/rmt_storage
class main
user root
@@ -458,3 +459,8 @@
class late_start
user system
group system
+
+service charger_touch /system/bin/charger_touch
+ class main
+ user system
+ group system