thermald: consider pmic in component temp management (#24708)

This commit is contained in:
Jason Young
2022-06-02 04:58:47 -05:00
committed by GitHub
parent dd10a83708
commit c8c21baf50
+1 -1
View File
@@ -244,7 +244,7 @@ def thermald_thread(end_event, hw_queue):
current_filter.update(msg.deviceState.batteryCurrent / 1e6)
max_comp_temp = temp_filter.update(
max(max(msg.deviceState.cpuTempC), msg.deviceState.memoryTempC, max(msg.deviceState.gpuTempC))
max(max(msg.deviceState.cpuTempC), msg.deviceState.memoryTempC, max(msg.deviceState.gpuTempC), max(msg.deviceState.pmicTempC))
)
if fan_controller is not None: