Increase K_I and PowerWeight to reduce temperature
and charging throttling overshoots.
Bug: 338150302
Test: boot and charging thermal throtlting worked properly.
Change-Id: Ia7b2b5f7b2f8d62d1cde800be149993b284f72d4
- generated legacy formulas with DVT and CUJ data
- removed 'battery' thermistor from sensor combination list
- removed 'LINEAR' formulas
Bug: 342227291
Test: verified thermal hal service starts properly with it
Change-Id: Iff59072d432ff98afe852295745cebd81ec73d15
Signed-off-by: Jikai Ma <Jikai@google.com>
Reduce temperature and charging throttling overshoots by fine-tuning PID
parameters.
Bug: 303547723
Test: boot and charging thermal throtlting worked properly.
Change-Id: Icaeef76998347167976a1ef3606f417db3c5a380
Expose virtual charge sensors to which throttling is binded to and
hide those which don't have.
Unhide:
- VIRTUAL-SKIN-CHARGE-WIRED
- VIRTUAL-SKIN-CHARGE-PERSIST
Hide:
- VIRTUAL-SKIN-CHARGE
Bug: 336193005
Test: Verify dumpsys
Change-Id: I4d83f6af17fccb7de8d053c9d981163c9dde0ea3
Bug: 320714468
Test: side load to device and successfully start thermal hal service.
Change-Id: I8189d7d7c94d590cc06ac82893d6b3dfd730585a
Signed-off-by: Jikai Ma <jikai@google.com>
Remove the below power rails as they're going to be replaced with
different ones for better ODPM coverage.
- S8S_VDD_G3D_L2
- L9S_GNSS_CORE
Bug: 331556280
Test: Push config and verify thermal logs
Change-Id: Ic5c6cb7c4ddae258c89cbe3cb50a104f7044e016
Change the rule to identify wireless charge according to the latest
hda definition from bms driver pa/2736243
Bug: 324267311
Test: boot to home
Change-Id: Ice9b38201cbbe868784ac389e799cc24e8f8b7ff
- vs formulas generated from EVT 1.1 data
Bug: 320714468
Test: push to device and boot to home
Change-Id: Ife745ac7640ffd284404212706c9bdfdb0500f33
Signed-off-by: Jikai Ma <jikai@google.com>
(cherry picked from commit 859dc39412)
tz_temp callback will invoke thermal_zone_device_update and return the cached temp from thermal core. However, during device resume, the cached temp may be reset to INVALID number before being returned.
So, change the reading path to upstream temp_show which will return the temperature from thermistor driver directly.
Bug: 326252555
Test: adb shell dumpsys thermalservice
Change-Id: I82cf81d940585c4827256804bc9c9397f4b54ccf
- remove ODPM from legacy formulas
- remove ODPM from patched linear formulas
- update VIRTUAL-SKIN-CHARGE formulas
Bug: 320714468
Test: build and boot to home
Change-Id: I974476d45d9ace1740f9fec06af9399db5b7cb59
Signed-off-by: Jikai Ma <jikai@google.com>
formulas updated with P1.1 test data
Bug: 296476775
Test: boot to home
Sign-off-by: jikai@google.com
Change-Id: I88febd4792f9c32c6fcbd3d27490cdac80f00311
should work with ag/24907329 that allow thermalHAL to config trip of
btmskpr_therm
Bug: 296476775
Test: boot to home
Change-Id: I05e65c3f3ccce9d06640735b23976006cd99495e
Bug: b/292586445
Test: Tested with burn8 and thermal recorder to ensure policies kicked in
Change-Id: Id4b9a00329153ba2e2f68fb4d8dd8657bbbf4d5e
Signed-off-by: Ramya Subramanian <rsubr@google.com>