Change wwan power command (#20874)

This commit is contained in:
Willem Melching
2021-05-11 16:58:45 +02:00
committed by GitHub
parent b93ccc465d
commit 4ca0edda97
+2 -2
View File
@@ -351,8 +351,8 @@ def thermald_thread():
params.put_bool("IsOffroad", not should_start)
HARDWARE.set_power_save(not should_start)
if TICI and not params.get_bool("EnableLteOnroad"):
fxn = "stop" if should_start else "start"
os.system(f"sudo systemctl {fxn} --no-block lte")
fxn = "off" if should_start else "on"
os.system(f"nmcli radio wwan {fxn}")
if should_start:
off_ts = None