From f8b586c3c16928c7d1512de02be5f85dc4fa0348 Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Fri, 21 Apr 2017 11:09:07 -0700 Subject: [PATCH] Split VR thermal config Bug: 36514493 Test: build Change-Id: I3df4ea75e2c8c4513cdc684f7b0a19c6dd347fb8 --- device-common.mk | 3 ++- thermal-engine-vr.conf | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100755 thermal-engine-vr.conf diff --git a/device-common.mk b/device-common.mk index a881ed6..2bc9550 100644 --- a/device-common.mk +++ b/device-common.mk @@ -76,4 +76,5 @@ PRODUCT_COPY_FILES += \ device/google/muskie/fstab.hardware:root/fstab.$(PRODUCT_HARDWARE) PRODUCT_COPY_FILES += \ - device/google/muskie/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf + device/google/muskie/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf \ + device/google/muskie/thermal-engine-vr.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-vr.conf diff --git a/thermal-engine-vr.conf b/thermal-engine-vr.conf new file mode 100755 index 0000000..f9e952f --- /dev/null +++ b/thermal-engine-vr.conf @@ -0,0 +1,17 @@ +[SKIN_SHUTDOWN] +algo_type monitor +sampling 1000 +sensor quiet_therm +thresholds 60000 +thresholds_clr 59000 +actions shutdown +action_info 1 + +[BATT_SHUTDOWN] +algo_type monitor +sampling 1000 +sensor battery +thresholds 60000 +thresholds_clr 59000 +actions shutdown +action_info 1