Commit graph

3 commits

Author SHA1 Message Date
sashwinbalaji
d406d43bcb thermal: Update init_thermal_config
- Validate for display panel availability only in userdebug builds.

- Add check to fall back to wingboard config for charging mode as well.

- Move fallback to backup config for proto and wingboard to init rc
  file.

Bug: 338295174
Flag: EXEMPT NDK
Test: Local build and verify init_thermal_config and property
Change-Id: I4b2db92df1d74be4038e256ab6e25ee616c5feb6
2024-07-26 07:33:03 +00:00
sashwinbalaji
79277084b0 thermal: Apply special thermal config for wingboard/MLB device
- Add new thermal config for wingboard without dependency on:
  - chg_mdis
  - inner_brightness zone
- Update init_thermal_config to check if wingboard, if so use the custom
  config

Bug: 335005016
Test: Build and boot to verify thermal logs
Change-Id: I58b9517de2acdfca0e371ce1a5dfe486eb6c15ee
2024-04-29 11:47:49 +08:00
sashwinbalaji
edb8b488e5 thermal: Dynamically decide thermal config to use
Add service which will device thermal config on basis of following
conditions:

- No display panel / proto, use thermal_info_config_proto

Bug: 315096213
Test: Build and verify on all device variations
Change-Id: Ic1f652dcf38888150200bb80b35aad740058e85f
2023-12-18 19:28:00 +08:00