From b7fa5f9438d897a2a2eb4d9ed9aa7426042107f7 Mon Sep 17 00:00:00 2001 From: Jia-yi Chen Date: Mon, 24 Jul 2017 13:29:53 -0700 Subject: [PATCH] thermal-engine: Update policies for taimen 1) Update applies to EVT2.2 and beyond 2) Add & Set the device_max_limit of SKIN-MID-LOW-FLOOR2 to 1497600 3) Raise SKIN-LOW-FLOOR2 set_point to 45 degreeC 4) Add charging current throttling for both normal and vr mode Bug: 63152009 Bug: 63037732 Test: Boot & check logcat message Change-Id: I0c10bb36717194aa0f0ac841d1a910eaa634e0c5 --- thermal-engine-vr.conf | 4 ++-- thermal-engine.conf | 25 ++++++++++++++++++++++--- 2 files changed, 24 insertions(+), 5 deletions(-) diff --git a/thermal-engine-vr.conf b/thermal-engine-vr.conf index 8a80965..bed4c59 100755 --- a/thermal-engine-vr.conf +++ b/thermal-engine-vr.conf @@ -13,8 +13,8 @@ sensor bd_therm2 sampling 1000 thresholds 50000 thresholds_clr 46000 -actions cluster0+cluster1+gpu -action_info 883200+902400+342000000 +actions cluster0+cluster1+gpu+battery +action_info 883200+902400+342000000+3 [SKIN_SHUTDOWN] algo_type monitor diff --git a/thermal-engine.conf b/thermal-engine.conf index 80e4de5..8c810bd 100755 --- a/thermal-engine.conf +++ b/thermal-engine.conf @@ -8,13 +8,23 @@ set_point_clr 37000 device_max_limit 1804800 time_constant 0 -[SKIN-LOW-FLOOR2] +[SKIN-MID-LOW-FLOOR2] algo_type ss sampling 2000 sensor bd_therm2 device cluster1 set_point 40000 set_point_clr 39000 +device_max_limit 1497600 +time_constant 0 + +[SKIN-LOW-FLOOR2] +algo_type ss +sampling 2000 +sensor bd_therm2 +device cluster1 +set_point 45000 +set_point_clr 44000 device_max_limit 1190400 time_constant 0 @@ -42,11 +52,20 @@ device_max_limit 414000000 algo_type monitor sampling 2000 sensor bd_therm2 -thresholds 48000 50000 54000 -thresholds_clr 47000 49000 53000 +thresholds 48000 50000 52000 +thresholds_clr 47000 49000 51000 actions cluster0+cluster1+gpu cluster0+cluster1+gpu cluster0+cluster1+gpu action_info 1094400+1190400+414000000 883200+902400+342000000 300000+300000+257000000 +[BATTERY-MONITOR2] +algo_type monitor +sampling 2000 +sensor bd_therm2 +thresholds 50000 +thresholds_clr 48000 +actions battery +action_info 3 + [SKIN-SHUTDOWN2] algo_type monitor sampling 1000