make memory usage cloudlog an event

old-commit-hash: 83e8ccb4ef7f26ae857ac3b0345bb51a15fecbe4
This commit is contained in:
Adeeb Shihadeh
2021-04-27 11:27:43 -07:00
parent f69e234419
commit 8708cf5577
+1 -1
View File
@@ -245,7 +245,7 @@ def thermald_thread():
msg.deviceState.usbOnline = HARDWARE.get_usb_present()
if EON and started_ts is not None and msg.deviceState.memoryUsagePercent > 40:
cloudlog.warning("High offroad memory usage", mem=msg.deviceState.memoryUsagePercent)
cloudlog.event("High offroad memory usage", mem=msg.deviceState.memoryUsagePercent)
# Fake battery levels on uno for frame
if (not EON) or is_uno: