thermal: bringup basic thermal config

Bug: 236787506
Test: adb shell lshal debug android.hardware.thermal@2.0::IThermal/default
Change-Id: If12f51a4fe75e1d4487f6e0be0dd74c0e3e72984
This commit is contained in:
TeYuan Wang 2022-06-23 17:56:01 +08:00
parent 1a21858c00
commit 151785628d
3 changed files with 130 additions and 4 deletions

View file

@ -121,10 +121,6 @@ on boot && property:ro.build.type=userdebug && \
property:persist.vendor.fingerprint.disable.fake.override=100
setprop vendor.fingerprint.disable.fake ${persist.vendor.fingerprint.disable.fake.override}
# Thermal
on late-init
setprop persist.vendor.disable.thermal.control 1
# Hall sensor
on init && property:ro.bootmode=normal
write /sys/devices/platform/hall_sensor/enable 0