thermald: match metered param to packet

old-commit-hash: 005a6e4f17d88473440607bb4aa9218e44e906b4
This commit is contained in:
Adeeb Shihadeh
2024-01-17 17:45:22 -08:00
parent 3d85d3d857
commit 8cd3638483
+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