mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 13:46:26 -08:00
LG8n: Initialize powerHAL when boot is completed
Change-Id: Iff72fa27b3b1df4d4c63cbc30876248e53188645 Signed-off-by: fjrXTR <fajarslebew31@gmail.com> Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
92c8b70e95
commit
8c3ad5f633
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue