6ec43311ae
https://github.com/LineageOS/android_system_core/blob/lineage-21.0/init/init.cpp#L1099
This partially reverts commit 4aca996701
.
Change-Id: I284f80f364e9057a8373a015f0acaee3ef9e395d
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
13 lines
277 B
Plaintext
13 lines
277 B
Plaintext
on charger
|
|
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
|