thermal-engine: Update policies

1) Add & Set the device_max_limit of SKIN-MID-LOW-FLOOR-BC to 1497600
2) Raise SKIN-LOW-FLOOR-BC set_point to 47 degreeC
3) Add back the most aggresive throttling at 54 degreeC
4) Add charging current throttling for both normal and vr mode

Bug: 63152009
Bug: 63037732
Test: Boot & check logcat message
Change-Id: Ibcd5bae397abcf9dc9b4c73244ff2d30c77fcbd5
This commit is contained in:
Jia-yi Chen
2017-07-20 23:30:35 -07:00
parent d6b4004620
commit 8855303a7f
2 changed files with 26 additions and 7 deletions

View File

@@ -13,5 +13,5 @@ sensor back_therm
sampling 1000
thresholds 52000
thresholds_clr 48000
actions cluster0+cluster1+gpu
action_info 883200+902400+342000000
actions cluster0+cluster1+gpu+battery
action_info 883200+902400+342000000+3

View File

@@ -10,13 +10,23 @@ set_point_clr 39000
device_max_limit 1804800
time_constant 0
[SKIN-LOW-FLOOR-BC]
[SKIN-MID-LOW-FLOOR-BC]
algo_type ss
sampling 2000
sensor back_therm
device cluster1
set_point 42000
set_point_clr 41000
device_max_limit 1497600
time_constant 0
[SKIN-LOW-FLOOR-BC]
algo_type ss
sampling 2000
sensor back_therm
device cluster1
set_point 47000
set_point_clr 46000
device_max_limit 1190400
time_constant 0
@@ -44,10 +54,19 @@ device_max_limit 414000000
algo_type monitor
sampling 2000
sensor back_therm
thresholds 50000 52000
thresholds_clr 49000 51000
actions cluster0+cluster1+gpu cluster0+cluster1+gpu
action_info 1094400+1190400+414000000 883200+902400+342000000
thresholds 50000 52000 54000
thresholds_clr 49000 51000 53000
actions cluster0+cluster1+gpu cluster0+cluster1+gpu cluster0+cluster1+gpu
action_info 1094400+1190400+414000000 883200+902400+342000000 300000+300000+257000000
[BATTERY-MONITOR]
algo_type monitor
sampling 2000
sensor back_therm
thresholds 52000
thresholds_clr 50000
actions battery
action_info 3
[SKIN-SHUTDOWN]
algo_type monitor