diff options
| author | YiHo Cheng <yihocheng@google.com> | 2018-07-14 08:44:16 +0800 |
|---|---|---|
| committer | YiHo Cheng <yihocheng@google.com> | 2018-07-14 08:54:05 +0800 |
| commit | 8a5808120a409c544f955c08d67168324fc71824 (patch) | |
| tree | 4826418cf953c8dfd0ede3eda9d53819cdf87d4e /init.hardware.chamber.rc.userdebug | |
| parent | 31b55f9253afc133b54e30052057f43677772fef (diff) | |
thermal: Add property for thermal testing.
Disable usb overheat mitigation for thermal test as needed.
Bug: 77303375
Test: adb shell setprop persist.vendor.disable.usb.overheat.mitigation
1; adb reboot; adb shell cat sys/module/overheat_mitigation/parameters/fake_port_temp
Change-Id: I31917fcb1695b21d9a046d295233b81dc52039eb
Diffstat (limited to 'init.hardware.chamber.rc.userdebug')
| -rw-r--r-- | init.hardware.chamber.rc.userdebug | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/init.hardware.chamber.rc.userdebug b/init.hardware.chamber.rc.userdebug index b8369d2..5f0d0de 100644 --- a/init.hardware.chamber.rc.userdebug +++ b/init.hardware.chamber.rc.userdebug @@ -21,3 +21,6 @@ on property:persist.vendor.disable.thermal.control=1 write /sys/devices/virtual/thermal/tz-by-name/quiet-therm-adc/mode disabled write /sys/devices/virtual/thermal/tz-by-name/fps-therm-adc/mode disabled write /sys/module/overheat_mitigation/parameters/fake_port_temp 250 + +on property:persist.vendor.disable.usb.overheat.mitigation=1 + write /sys/module/overheat_mitigation/parameters/fake_port_temp 250 |
