power-libperfmgr: initialize powerHAL when boot is completed

Change-Id: I801b3aba05ef0be14c7af1969ddf9318c05ef64c
This commit is contained in:
Jesse Chan 2020-06-29 12:32:17 +08:00 committed by Andreas Schneider
parent 2a8ecf2fc1
commit 2b6ad18415

View file

@ -14,3 +14,7 @@ on property:init.svc.zygote=restarting && property:vendor.powerhal.state=*
setprop vendor.powerhal.audio ""
setprop vendor.powerhal.rendering ""
restart vendor.power-hal-1-3
# initialize powerHAL when boot is completed
on property:sys.boot_completed=1
setprop vendor.powerhal.init 1