diff options
| author | Thierry Strudel <tstrudel@google.com> | 2018-07-18 18:33:30 -0700 |
|---|---|---|
| committer | Thierry Strudel <tstrudel@google.com> | 2018-07-19 23:58:50 +0000 |
| commit | 9d2d028b64c90e52c5044c1b66608a112c1eb5ae (patch) | |
| tree | d6d4c9f69e32b7da0e602e51ac7817c3206d932e /init.hardware.chamber.rc.userdebug | |
| parent | e20d0ed6e3bd9f399ab61c5eef6214bd560aacb8 (diff) | |
DeviceHealth: fake test battery temp at HAL level
Bug: 111600053
Change-Id: Ib2aded9f45e183e1a03c1ab2d72c722a14ecc1e0
Signed-off-by: Thierry Strudel <tstrudel@google.com>
Diffstat (limited to 'init.hardware.chamber.rc.userdebug')
| -rw-r--r-- | init.hardware.chamber.rc.userdebug | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/init.hardware.chamber.rc.userdebug b/init.hardware.chamber.rc.userdebug index 5f0d0de..c492be6 100644 --- a/init.hardware.chamber.rc.userdebug +++ b/init.hardware.chamber.rc.userdebug @@ -14,13 +14,13 @@ # limitations under the License. # - on property:persist.vendor.disable.thermal.control=1 - stop vendor.thermal-engine - write /sys/class/power_supply/maxfg/temp 200 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:init.svc.vendor.thermal-engine=running && property:persist.vendor.disable.thermal.control=1 + stop vendor.thermal-engine + on property:persist.vendor.disable.usb.overheat.mitigation=1 write /sys/module/overheat_mitigation/parameters/fake_port_temp 250 |
