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
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
Latest ML models have been trained for latest HW and are no longer
valid for proto devices. We can use legacy equation prepared for
proto devices and remove any stats upload to avoid polluting stats.
Bug: 320714468
Test: Build and boot on proto devices. Check Virtual Skin output
Change-Id: Ic80934f0df80a423d8ba2cb4d1ac4b45999803fe
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Update tflite models with metadata containing input data ranges.
Enable input data validation and backup sesor.
Add offsets based off temperature ranges.
Bug: 319167815
Bug: 328789394
Test: Build and boot on device. Test backup sensor and offsets
Change-Id: Icdc0c1a1fe026613e4a1716747335e60aca4edf9
Signed-off-by: Sayanna Chandula <sayanna@google.com>
- Updated vt predictions models with 15 samples average for ODPM rails.
- This reduces VT prediction being very sensitive to power changes
- Remove other ODPM rails from VT prediction except for VSYS_PWR_CAMERA
Bug: 307824060, 322910529
Test: Build and boot on device
Change-Id: Ibb285269d3da86e3d331ea3c7c5a3cd715da0ba2
Signed-off-by: Sayanna Chandula <sayanna@google.com>
- Switch to VIRTUAL-SKIN-MODEL from VIRTUAL-SKIN-LEGACY
- Add a backup shutdown based on VIRTUAL-SKIN-LEGACY
- Remove unnecessary polling delays from few sensors
Bug: 321108353
Test: Build and boot on device
Change-Id: I8b8909ded87ba2b76d5712c474120dbe5ab13c2c
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Update thermal config as:
- Rename VIRTUAL-SKIN to VIRTUAL-SKIN-LEGACY
In order to differentiate different vt models, we need to define
legacy equation as a sepearate sensor and use it as a reference
for virtual-skin. Later when we want to switch to other models,
we could simply replace the combination for virtual-skin sensor
- Record Stats for
- VIRTUAL-SKIN-MODEL
- VIRTUAL-SKIN-MODEL - VIRTUAL-SKIN
- At intervals of 500 mdeg (-4500 to 4500)
- At intervals of 1000 mdef (-13000 to 12000 exlucding
-4000 to 4000)
- Abnormality Monitoring
- VIRTUAL-SKIN-MODEL [0-55 deg]
- VIRTUAL-SKIN-MODEL-LEGACY-DIFF [-12000 - 12000 mdeg]
Bug: 320347462
Test: Push config and verify logcat and lshal
Change-Id: I397c8a07cf01abd5d8a7dedf290829a19e21ae87
The battery_mitigation takes over the brownout event
and informs subsystems to do mitigation.
Bug: 319285945
Change-Id: I58e0a9e0469575096f34243e73c1e32474eea006
Signed-off-by: samou <samou@google.com>
Bug: 310748549
Test: sideloaded the cofig files and device rebooted to home
Change-Id: Ib2af1fd19099b58fd6ba23bde10ea59767b67e05
Signed-off-by: Ramya Subramanian <rsubr@google.com>
formulas updated with P1.1 test data
Bug: 296476775
Test: boot to home
Sign-off-by: jikai@google.com
Change-Id: I88febd4792f9c32c6fcbd3d27490cdac80f00311
Bug: 297083757
Test: Tested on CM4/KM4, boot to home and with thermal recorder
Change-Id: I489613010ae04851bd713d3d9c74ede15661d191
Signed-off-by: Ramya Subramanian <rsubr@google.com>
gpu cooling device is now available in kernel, enabled in HAL
Bug: 305017362
Test: tested on CM4 and KM4 devices. no access to TK4 or EVT
Change-Id: I06c022eb68a5726802529fe67fd76b189df14d32
Signed-off-by: Ramya Subramanian <rsubr@google.com>