android_device_xiaomi_sm835.../rootdir/etc/init.mi_thermald.rc
Sebastiano Barezzi 6ec43311ae sm8350-common: Partially revert "Move to QTI health AIDL service"
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>
2024-09-13 20:41:07 +05:30

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