diff --git a/rootdir/etc/init/hw/init.mt6789.rc b/rootdir/etc/init/hw/init.mt6789.rc index 75caad9..53835b6 100644 --- a/rootdir/etc/init/hw/init.mt6789.rc +++ b/rootdir/etc/init/hw/init.mt6789.rc @@ -100,6 +100,11 @@ on charger # Stop bootprof write /proc/bootprof "0" + # initialize powerHAL when boot is completed +on property:sys.boot_completed=1 + setprop vendor.mediatek.powerhal.init 1 + + on early-fs write /proc/bootprof "INIT:early-fs"