Use bd_therm for thermal throttling

Test: boot & check logcat
Change-Id: Ia10adc2f3ea3f8da377804f0a2d5accf0afd9c8b
This commit is contained in:
Jia-yi Chen
2017-06-06 17:07:17 -07:00
parent 3ab035dc90
commit 1a90278fed
2 changed files with 33 additions and 21 deletions

View File

@@ -1,17 +1,9 @@
[SKIN_SHUTDOWN]
algo_type monitor
sampling 1000
sensor pa_therm1
thresholds 60000
thresholds_clr 59000
actions shutdown
action_info 1
algo_type monitor
sampling 1000
sensor bd_therm
thresholds 66000
thresholds_clr 65000
actions shutdown
action_info 1
[SKIN_SHUTDOWN]
algo_type monitor
sampling 1000
sensor battery
thresholds 60000
thresholds_clr 59000
actions shutdown
action_info 1

View File

@@ -1,17 +1,37 @@
[SKIN-MID-FLOOR]
algo_type ss
sampling 2000
sensor bd_therm
device cluster1
set_point 49000
set_point_clr 48000
device_max_limit 2035200
time_constant 0
[SKIN-LOW-FLOOR]
algo_type ss
sampling 2000
sensor bd_therm
device cluster1
set_point 53000
set_point_clr 52000
device_max_limit 1728000
time_constant 0
[SKIN-MONITOR]
algo_type monitor
sampling 2000
sensor pa_therm1
thresholds 52000 55000 58000
thresholds_clr 50000 53000 56000
sensor bd_therm
thresholds 58000 60000 64000
thresholds_clr 57000 59000 63000
actions cluster0+cluster1+gpu cluster0+cluster1+gpu cluster0+cluster1+gpu
action_info 1094400+1190400+414000000 883200+902400+342000000 300000+300000+257000000
[SKIN-SHUTDOWN]
algo_type monitor
sampling 1000
sensor pa_therm1
thresholds 60000
thresholds_clr 59000
sensor bd_therm
thresholds 66000
thresholds_clr 65000
actions shutdown
action_info 1