Skip to content

Commit

Permalink
huashan: Trigger the CPU configurations on charger boot
Browse files Browse the repository at this point in the history
 * Fixes the slow boot when booting from offline charger
    due to the CPU governor remaining in powersave

Change-Id: I41198a363165cc697ffdeb38260ea390c08a1c0b
Signed-off-by: AdrianDC <radian.dc@gmail.com>
  • Loading branch information
AdrianDC committed May 10, 2016
1 parent 83f0fe6 commit 8b25b10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rootdir/init.qcom.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8b25b10

Please sign in to comment.