thermal: move charger thermal HAL setup into project am: f121ec6625
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/19638879 Change-Id: I886eadc929e77308189aa3b664f97b08608cfb37 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
59a427c887
1 changed files with 12 additions and 0 deletions
|
@ -973,6 +973,18 @@ on charger
|
||||||
write /proc/vendor_sched/sys_uclamp_min 0
|
write /proc/vendor_sched/sys_uclamp_min 0
|
||||||
write /proc/vendor_sched/sys_prefer_idle 0
|
write /proc/vendor_sched/sys_prefer_idle 0
|
||||||
|
|
||||||
|
# Use charger thermal config
|
||||||
|
setprop vendor.thermal.config "thermal_info_config_charge.json"
|
||||||
|
|
||||||
|
# Wait for insmod_sh to finish all common modules
|
||||||
|
wait_for_prop vendor.common.modules.ready 1
|
||||||
|
|
||||||
|
# Create thermal symlink in off charging mode
|
||||||
|
mkdir /dev/thermal 0750 system system
|
||||||
|
mkdir /dev/thermal/tz-by-name 0750 system system
|
||||||
|
mkdir /dev/thermal/cdev-by-name 0750 system system
|
||||||
|
start vendor.thermal.symlinks
|
||||||
|
|
||||||
on property:vendor.disable.bcl.control=1
|
on property:vendor.disable.bcl.control=1
|
||||||
write /sys/devices/virtual/pmic/mitigation/instruction/enable_mitigation 0
|
write /sys/devices/virtual/pmic/mitigation/instruction/enable_mitigation 0
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue