thermald: match metered param to packet

This commit is contained in:
Adeeb Shihadeh
2024-01-17 17:45:22 -08:00
parent 19630c5af9
commit 005a6e4f17
+1 -1
View File
@@ -447,7 +447,7 @@ def thermald_thread(end_event, hw_queue) -> None:
except Exception:
cloudlog.exception("failed to save offroad status")
params.put_bool_nonblocking("NetworkMetered", (msg.deviceState.networkType != NetworkType.wifi))
params.put_bool_nonblocking("NetworkMetered", msg.deviceState.networkMetered)
count += 1
should_start_prev = should_start