aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorYaroslav Furman <yaro330@gmail.com>2019-01-26 19:28:29 +0300
committerDavide Garberi <dade.garberi@gmail.com>2019-01-26 13:56:26 +0100
commitf9049138aba001f036a712c169bbe496e7d40cb2 (patch)
tree1246c88c2d7a03cf456f00a24fc6fa72ed72c25e /configs
parent9fd964c96783299ac8a30a6260a55f299c8e1dda (diff)
msm8996-common: thermal-engine: use bms sensor for charging throttling
17th sensor get's way above 70C after 7-10 minutes of CPU stress test and above 50C in normal usage. This kills charging entirely. We do not want that because actually it does not indicate that we are overheating. What we really need to check is the battery temperature. This change ensures that we have at least 400-500mA charging even under heavy usage. bms and battery sensors show the same temperature. Change-Id: I3ac2152e06afcd0a27d228de89d635d32b3110bc Signed-off-by: Yaroslav Furman <yaro330@gmail.com> Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/thermal-engine.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/thermal-engine.conf b/configs/thermal-engine.conf
index ea3dac6..4682dd5 100644
--- a/configs/thermal-engine.conf
+++ b/configs/thermal-engine.conf
@@ -37,7 +37,7 @@ set_point_clr 65000
[battery_monitor]
algo_type monitor
-sensor tsens_tz_sensor17
+sensor bms
sampling 1000
thresholds 43000 49000
thresholds_clr 41000 47000