From 005a6e4f17d88473440607bb4aa9218e44e906b4 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Wed, 17 Jan 2024 17:45:22 -0800 Subject: [PATCH] thermald: match metered param to packet --- selfdrive/thermald/thermald.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/thermald/thermald.py b/selfdrive/thermald/thermald.py index 75e091febb..96cf0f49f8 100755 --- a/selfdrive/thermald/thermald.py +++ b/selfdrive/thermald/thermald.py @@ -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