aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosme Domínguez Díaz <cosme.ddiaz@gmail.com>2018-06-25 22:45:18 +0200
committerCosme Domínguez Díaz <cosme.ddiaz@gmail.com>2018-06-25 23:01:34 +0200
commitd2cd1f396a80076b9e5dd13140e710bcba04b3e6 (patch)
tree525633138652ca7602a3db8631f03b527b709086
parent76e808057a1187b7479f222291cfb8c2d1e6f0ee (diff)
msm8996-common: Move thermal-engine.conf from vendor to msm8996-common.
-rw-r--r--configs/thermal-engine.conf34
-rwxr-xr-xmsm8996.mk3
2 files changed, 37 insertions, 0 deletions
diff --git a/configs/thermal-engine.conf b/configs/thermal-engine.conf
new file mode 100644
index 0000000..598ca5a
--- /dev/null
+++ b/configs/thermal-engine.conf
@@ -0,0 +1,34 @@
+# File empty by default.
+# Replace contents of this file with custom configuration.
+
+[SS-GPU]
+#algo_type ss
+disable
+
+[SS-POPMEM]
+#algo_type ss
+sampling 10
+sensor pop_mem
+device cluster1
+set_point 65000
+set_point_clr 55000
+time_constant 16
+
+[SS-CPUS-ALL]
+#algo_type ss
+sampling 10
+sensor VIRTUAL-CPUS
+device cpu_voltage
+set_point 65000
+set_point_clr 55000
+time_constant 0
+
+[battery_monitor]
+algo_type monitor
+sensor tsens_tz_sensor17
+sampling 1000
+thresholds 49000 55000
+thresholds_clr 47000 53000
+actions battery battery battery
+action_info 0 1
+
diff --git a/msm8996.mk b/msm8996.mk
index f6bc26b..e6ddda2 100755
--- a/msm8996.mk
+++ b/msm8996.mk
@@ -400,3 +400,6 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
android.hardware.thermal@1.0-impl \
android.hardware.thermal@1.0-service
+
+PRODUCT_COPY_FILES += \
+ $(LOCAL_PATH)/configs/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf