sdm660-common: make powerhal starts handling powerhint after

boot_complete

some sysfs node may not be ready before boot_complete:
e.g. we are delaying bw_hwmon in favor of boot time

Bug: 80321544
Test: Boot and check powerhint handling
Change-Id: I8d2cfa332d9cf9fbafdfa3f48ffff4105c6bcaae
Signed-off-by: ImPrashantt <prashant33968@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
Wei Wang 2018-05-25 18:22:35 -07:00 committed by pix106
parent 8c51bf6479
commit 922a254885

View file

@ -493,6 +493,10 @@ service ppd /system/vendor/bin/mm-pp-dpps
socket pps stream 0660 system system socket pps stream 0660 system system
disabled disabled
on property:sys.boot_completed=1
# Enable PowerHAL hint processing
setprop vendor.powerhal.init 1
on property:init.svc.surfaceflinger=stopped on property:init.svc.surfaceflinger=stopped
stop ppd stop ppd