summaryrefslogtreecommitdiff
path: root/thermal-engine-marlin.conf
diff options
context:
space:
mode:
authorWei Wang <wvw@google.com>2017-08-10 14:40:43 -0700
committerWei Wang <wvw@google.com>2017-08-10 14:40:43 -0700
commitc89b8a28d608e070957c71d2734a53c4b3460287 (patch)
tree0e011c1a064b63a359822c35cf75332702207d28 /thermal-engine-marlin.conf
parent972ea75e71e913f6e0c3ac4a4707c4e6556f0a40 (diff)
downloadmarlin-c89b8a28d608e070957c71d2734a53c4b3460287.tar.gz
marlin: add battery limit in thermal config
With CL On heating marlin:/ # cat /sys/class/power_supply/battery/system_temp_level 3 After cooling down marlin:/ # cat /sys/class/power_supply/battery/system_temp_level 0 Bug: 63266170 Test: boot Change-Id: I1f75e29200ef23cbddf21ccf2ab5b73c2f060914
Diffstat (limited to 'thermal-engine-marlin.conf')
-rwxr-xr-xthermal-engine-marlin.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/thermal-engine-marlin.conf b/thermal-engine-marlin.conf
index c5a3f2ae..02c3c267 100755
--- a/thermal-engine-marlin.conf
+++ b/thermal-engine-marlin.conf
@@ -56,6 +56,15 @@ thresholds_clr 55000 57000
actions cluster0+cluster1+gpu cluster0+cluster1+gpu
action_info 691200+691200+133000000 307200+307200+133000000
+[BATTERY-MONITOR]
+algo_type monitor
+sampling 2000
+sensor emmc_therm
+thresholds 56000
+thresholds_clr 54000
+actions battery
+action_info 3
+
[HOT-SKIN-VIRTUAL]
algo_type virtual
trip_sensor emmc_therm