From aaf09743574e850e0325dd734d36fa7a0aa09c88 Mon Sep 17 00:00:00 2001 From: Prateek Chaubey Date: Wed, 3 Jan 2018 13:59:09 +0530 Subject: [PATCH] msm8937-common: Cleanup power script --- rootdir/init.qcom.power.rc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/rootdir/init.qcom.power.rc b/rootdir/init.qcom.power.rc index 2e1c5fd..882a025 100644 --- a/rootdir/init.qcom.power.rc +++ b/rootdir/init.qcom.power.rc @@ -121,8 +121,9 @@ on enable-low-power write /sys/block/dm-0/queue/read_ahead_kb 128 write /sys/block/dm-1/queue/read_ahead_kb 128 -on class_start:late_start +on property:sys.boot_completed=1 trigger enable-low-power + setprop sys.io.scheduler bfq on charger # Offline all cores other than CPU0 @@ -139,6 +140,3 @@ on charger on property:init.svc.recovery=running trigger enable-low-power - -on property:dev.bootcomplete=1 - setprop sys.io.scheduler bfq