From f9049138aba001f036a712c169bbe496e7d40cb2 Mon Sep 17 00:00:00 2001 From: Yaroslav Furman Date: Sat, 26 Jan 2019 19:28:29 +0300 Subject: 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 Signed-off-by: Davide Garberi --- configs/thermal-engine.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3