4aca996701
The health AIDL HAL service provides functionalities of charger, therefore system charger at /system/bin/charger is deprecated. On top of that, QTI health AIDL HAL service enables suspend by default, the equivalent of setting ro.charger.enable_suspend for legacy charger. Change-Id: I59c23e7974cea1174b0161f31a535fa3afa1e5c9
13 lines
310 B
Plaintext
13 lines
310 B
Plaintext
on property:init.svc.vendor.charger=running
|
|
wait /sys/class/power_supply/usb/type
|
|
start mi_thermald
|
|
on boot
|
|
wait /sys/class/power_supply/usb/type
|
|
start mi_thermald
|
|
|
|
service mi_thermald /system/vendor/bin/mi_thermald
|
|
class main
|
|
user root
|
|
group system
|
|
seclabel u:r:mi_thermald:s0
|