diff options
author | Jia-yi Chen <jychen@google.com> | 2018-08-09 12:23:46 -0700 |
---|---|---|
committer | Jia-yi Chen <jychen@google.com> | 2018-08-09 12:23:46 -0700 |
commit | 0d115dda991b12282b0c67112afd2e498be77caa (patch) | |
tree | f2e6e82879d279da33a1cf3d688684a8d8a5eee7 | |
parent | 43c17cac3650c948bdd4b22027289d5bfb839bc6 (diff) | |
download | crosshatch-0d115dda991b12282b0c67112afd2e498be77caa.tar.gz |
Enable Modem Thermal Throttling to Emergency calls only
Should trigger throttling at 53C on fps-therm-adc for DVT devices.
Should trigger throttling at 58C on quiet-therm-adc for EVT devices.
Fixes: 111812695
Test: Verified on both B1 DVT and C1 DVT
1) Boot & check logcat messages for loading the config
2) Artificially lowered the trigger threshold and used T-Mobile SIM to
verify the cell service being throttled to "Emergency calls only" when
the fps-therm-adc went above the threshold. Also verified that the
throttling was released when the temperature went back down below the
clear point.
3) Checked logcat messages on modem mitigation.
Change-Id: I846758ae43ceadf5b0e8c018546d8bf9c40ed622
-rw-r--r-- | thermal-engine-blueline-novr-evt.conf | 9 | ||||
-rw-r--r-- | thermal-engine-blueline-novr-prod.conf | 9 | ||||
-rw-r--r-- | thermal-engine-blueline-vr-evt.conf | 11 | ||||
-rw-r--r-- | thermal-engine-blueline-vr-prod.conf | 11 | ||||
-rw-r--r-- | thermal-engine-crosshatch-novr-evt.conf | 9 | ||||
-rw-r--r-- | thermal-engine-crosshatch-novr-prod.conf | 9 | ||||
-rw-r--r-- | thermal-engine-crosshatch-vr-evt.conf | 11 | ||||
-rw-r--r-- | thermal-engine-crosshatch-vr-prod.conf | 11 |
8 files changed, 76 insertions, 4 deletions
diff --git a/thermal-engine-blueline-novr-evt.conf b/thermal-engine-blueline-novr-evt.conf index 10f575fc..47f746c5 100644 --- a/thermal-engine-blueline-novr-evt.conf +++ b/thermal-engine-blueline-novr-evt.conf @@ -54,3 +54,12 @@ thresholds 48000 50000 thresholds_clr 47000 49000 actions mnh mnh action_info 3 4 + +[MODEM-MONITOR] +algo_type monitor +sampling 1000 +sensor quiet-therm-adc +thresholds 58000 +thresholds_clr 56000 +actions modem+modem_proc +action_info 3+3 diff --git a/thermal-engine-blueline-novr-prod.conf b/thermal-engine-blueline-novr-prod.conf index 8769c774..1b3c7f65 100644 --- a/thermal-engine-blueline-novr-prod.conf +++ b/thermal-engine-blueline-novr-prod.conf @@ -54,3 +54,12 @@ thresholds 45000 47000 thresholds_clr 44000 46000 actions mnh mnh action_info 3 4 + +[MODEM-MONITOR] +algo_type monitor +sampling 1000 +sensor fps-therm-adc +thresholds 53000 +thresholds_clr 51000 +actions modem+modem_proc +action_info 3+3 diff --git a/thermal-engine-blueline-vr-evt.conf b/thermal-engine-blueline-vr-evt.conf index 82dc2ab0..7e9ed42f 100644 --- a/thermal-engine-blueline-vr-evt.conf +++ b/thermal-engine-blueline-vr-evt.conf @@ -14,4 +14,13 @@ sensor quiet-therm-adc thresholds 42000 44000 46000 thresholds_clr 41000 43000 45000 actions battery battery battery -action_info 1 2 3
\ No newline at end of file +action_info 1 2 3 + +[MODEM-MONITOR] +algo_type monitor +sampling 1000 +sensor quiet-therm-adc +thresholds 58000 +thresholds_clr 56000 +actions modem+modem_proc +action_info 3+3 diff --git a/thermal-engine-blueline-vr-prod.conf b/thermal-engine-blueline-vr-prod.conf index 75f7c115..c22f10a3 100644 --- a/thermal-engine-blueline-vr-prod.conf +++ b/thermal-engine-blueline-vr-prod.conf @@ -14,4 +14,13 @@ sensor fps-therm-adc thresholds 39000 41000 43000 thresholds_clr 38000 40000 42000 actions battery battery battery -action_info 1 2 3
\ No newline at end of file +action_info 1 2 3 + +[MODEM-MONITOR] +algo_type monitor +sampling 1000 +sensor fps-therm-adc +thresholds 53000 +thresholds_clr 51000 +actions modem+modem_proc +action_info 3+3 diff --git a/thermal-engine-crosshatch-novr-evt.conf b/thermal-engine-crosshatch-novr-evt.conf index 10f575fc..47f746c5 100644 --- a/thermal-engine-crosshatch-novr-evt.conf +++ b/thermal-engine-crosshatch-novr-evt.conf @@ -54,3 +54,12 @@ thresholds 48000 50000 thresholds_clr 47000 49000 actions mnh mnh action_info 3 4 + +[MODEM-MONITOR] +algo_type monitor +sampling 1000 +sensor quiet-therm-adc +thresholds 58000 +thresholds_clr 56000 +actions modem+modem_proc +action_info 3+3 diff --git a/thermal-engine-crosshatch-novr-prod.conf b/thermal-engine-crosshatch-novr-prod.conf index 8769c774..1b3c7f65 100644 --- a/thermal-engine-crosshatch-novr-prod.conf +++ b/thermal-engine-crosshatch-novr-prod.conf @@ -54,3 +54,12 @@ thresholds 45000 47000 thresholds_clr 44000 46000 actions mnh mnh action_info 3 4 + +[MODEM-MONITOR] +algo_type monitor +sampling 1000 +sensor fps-therm-adc +thresholds 53000 +thresholds_clr 51000 +actions modem+modem_proc +action_info 3+3 diff --git a/thermal-engine-crosshatch-vr-evt.conf b/thermal-engine-crosshatch-vr-evt.conf index 82dc2ab0..7e9ed42f 100644 --- a/thermal-engine-crosshatch-vr-evt.conf +++ b/thermal-engine-crosshatch-vr-evt.conf @@ -14,4 +14,13 @@ sensor quiet-therm-adc thresholds 42000 44000 46000 thresholds_clr 41000 43000 45000 actions battery battery battery -action_info 1 2 3
\ No newline at end of file +action_info 1 2 3 + +[MODEM-MONITOR] +algo_type monitor +sampling 1000 +sensor quiet-therm-adc +thresholds 58000 +thresholds_clr 56000 +actions modem+modem_proc +action_info 3+3 diff --git a/thermal-engine-crosshatch-vr-prod.conf b/thermal-engine-crosshatch-vr-prod.conf index 75f7c115..c22f10a3 100644 --- a/thermal-engine-crosshatch-vr-prod.conf +++ b/thermal-engine-crosshatch-vr-prod.conf @@ -14,4 +14,13 @@ sensor fps-therm-adc thresholds 39000 41000 43000 thresholds_clr 38000 40000 42000 actions battery battery battery -action_info 1 2 3
\ No newline at end of file +action_info 1 2 3 + +[MODEM-MONITOR] +algo_type monitor +sampling 1000 +sensor fps-therm-adc +thresholds 53000 +thresholds_clr 51000 +actions modem+modem_proc +action_info 3+3 |