From 8b25b10912366491d2a596b698e3ffb8103dd332 Mon Sep 17 00:00:00 2001 From: AdrianDC Date: Tue, 26 Apr 2016 22:08:24 +0200 Subject: [PATCH] huashan: Trigger the CPU configurations on charger boot * Fixes the slow boot when booting from offline charger due to the CPU governor remaining in powersave Change-Id: I41198a363165cc697ffdeb38260ea390c08a1c0b Signed-off-by: AdrianDC --- rootdir/init.qcom.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index 54efaa3f..e0119677 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -209,6 +209,9 @@ on property:sys.boot_from_charger_mode=1 write /sys/class/leds/LED1_B/brightness 0 write /sys/class/leds/LED1_B/led_current 0 + # Enable the normal CPU configurations + trigger enable-low-power + # msm specific files that need to be created on /data on post-fs-data # Create directory for TZ Apps