diff --git a/selfdrive/thermald/thermald.py b/selfdrive/thermald/thermald.py index 4bbe0559..4b15affc 100755 --- a/selfdrive/thermald/thermald.py +++ b/selfdrive/thermald/thermald.py @@ -244,6 +244,9 @@ def thermald_thread(): msg.deviceState.batteryVoltage = HARDWARE.get_battery_voltage() 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) + # Fake battery levels on uno for frame if (not EON) or is_uno: msg.deviceState.batteryPercent = 100