Peter (YM)
caeaff1444
thermal: read thermistor temp from sysfs
...
- avoid wrong sensor value reading for thermalHAL
Bug: 327327502
Test: Build to boot to home
Flag: EXEMPT (bug 337358613)
Change-Id: I93cbfa767a8d882eba526d72ce9ba3c389cd0a1e
Signed-off-by: Peter (YM) <peterym@google.com>
2024-08-16 06:26:10 +00:00
TeYuan Wang
1237bf6499
thermal: Update VSKIN equation V06.2
...
Bug: 289752109
Test: adb shell dumpsys android.hardware.thermal.IThermal/default
Change-Id: Ib957fae2db39f421c0b11c3b3b106f3ec333e4f5
2023-07-18 00:21:53 +00:00
TeYuan Wang
66d98f41ed
thermal: Provide smooth transient when switch VSKIN OPEN/CLOSE equation
...
If the since_last_update time < 14s, apply the 20% stepRatio when VSKIN
switch between open/close to prevent the sudden VSKIN thermal change
Bug: 260531200
Test: on/off innser dispaly and check thermal log
Change-Id: I00bd748b203dd8a2edae278503d8ddf1a914d3aa
2023-07-14 00:01:31 +00:00
TeYuan Wang
2a50391912
thermal: update the VSKIN equation V06
...
Bug: 284262604
Test: adb shell dumpsys android.hardware.thermal.IThermal/default
Change-Id: I7c3354b0832668c1d721d085f39434cd328e045a
2023-05-26 05:00:29 +00:00
TeYuan Wang
faee7a6ae6
thermal: Adjust CLOSE-SUB1 VSKIN equation
...
CLOSE-SUB1 will cause 5 degC VSKIN correlation gap for solar loading
case, so adding a check to prevent over prediction
Bug: 280447982
Test: adb shell "echo 50000 > dev/thermal/tz-by-name/outer_disp_therm/emul_temp"
adb shell "echo 0 > dev/thermal/tz-by-name/outer_disp_therm/emul_temp"
Change-Id: I3679ca4a72aa3585a0a0718013006fff54918893
2023-05-10 22:27:02 +00:00
TeYuan Wang
c809762ffa
thermal: Increase "I" to have better control at target temperature
...
Bug: 269730273
Test: Charge device and confirm thermal log
Change-Id: I6aa02a7963359dd9f75be251f51c4a96da3a3eb7
2023-03-07 22:50:30 +08:00
TeYuan Wang
7b4560dad5
thermal: more aggressive charging throttling
...
Bug: 239372822
Test: verified by emul_temp
Change-Id: Ie6cdfefd8443a90e93a0a4984de5ac98f979c4aa
2023-02-08 19:25:27 +08:00
TeYuan Wang
6eedadb40c
[DO NOT MERGE] thermal: correct the hyst value for VIRTUAL-SKIN-CHARGE
...
Bug: 265915107
Test: emul_temp in off charging mode and check the throttling works
properly
Change-Id: I594359ebae347a36454f7cf2c1101494ac3c1484
2023-01-31 09:22:46 +00:00
TeYuan Wang
067fd6ce02
[DO NOT MERGE] thermal: update VSKIN equation V0.5
...
Bug: 254163925
Test: verified by emul_temp
Change-Id: I1f33fa8b728ef31740ba1fe2fc18d1b63ffa4d96
2023-01-12 09:53:22 +08:00
TeYuan Wang
64ba8eec26
thermal: refer inner display brightness for VSKIN equation
...
Bug: 263215628
Test: Check VSKIN log with camera + open/close device
Change-Id: I04b8d008e1dfeec129599255eeb1925f402bf43b
2022-12-30 01:55:48 +00:00
TeYuan Wang
e5c9a0fb81
thermal: update SKIN shutdown threshold
...
Bug: 249228183
Test: verified shutdown by emul_temp
Change-Id: I5d0e19ba00035171dbb2dd2cdf9193dd74a15bdb
2022-12-22 11:21:41 +00:00
TeYuan Wang
14e2d00e34
thermal: optimize thermal config
...
1. correct the delay settings
2. Remove the redundant binded cdev settings
Bug: 258393022
Test: emul_temp skin_therm and check the log
Change-Id: I9a60a1b0800b3a24e6ce86f6fa6db82ea14dad9a
2022-12-16 14:51:23 +08:00
TeYuan Wang
7e31fdad99
thermal: update thermal config
...
1. VSKIN equation V0.4
2. Charging throttling policy V0.2
Bug: 254163925
Bug: 239372822
Test: adb shell lshal debug android.hardware.thermal@2.0::IThermal/default
Change-Id: I5928850b0e26a17c5712addcb0f1d728cf34d7c9
2022-12-07 20:20:44 +08:00
TeYuan Wang
85b00d60b9
thermal: update thermal table v3
...
Fix the correlation issue for high RF power case
Bug: 254735947
Test: build
Change-Id: Ic1e3e8f49324e8169417da695192fa786521e583
2022-10-28 19:15:49 +08:00
TeYuan Wang
6ddd559c06
thermal: update VIRTUAL-SKIN equation v1.1
...
Bug: 247922573
Test: lshal debug android.hardware.thermal@2.0::IThermal/default
Change-Id: I79f8a9cffd3ebdde36a2cf118cb2e6754b5fdbe0
2022-09-22 11:44:32 +08:00
TeYuan Wang
27929b9fbe
thermal: correct the typo for sensor equation of fold mode
...
Bug: 236787614
Test: emul_temp VIRTUAL-SKIN to EMERGENCY and monitor overheat warning
message
Change-Id: Id45dbc2e7989b9c854f8b4f241d891a76b39cf34
2022-09-14 17:53:27 +08:00
TeYuan Wang
cd3de1891c
thermal: bringup charging thermal throttling
...
Bug: 233844810
Test: verified by emul_temp
Change-Id: I3d92d6495ae547e863f00d743810eaa272868949
2022-08-29 16:21:12 +08:00
David Chao
91f8937f1f
thermal: seperate thermal config for charging
...
Separate thermal config for charger mode and remove the unused thermal
throttling.
Bug: 240897207
Test: thermalHAL init completed in charger.
Change-Id: I6e0c6869969ae1e817db00e2492afb3aaa2fe43d
2022-08-22 14:41:30 +08:00