make memory usage cloudlog an event

This commit is contained in:
Adeeb Shihadeh
2021-04-27 11:27:43 -07:00
parent 3c9e46d8a2
commit 83e8ccb4ef

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: