mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 22:23:56 +08:00
make memory usage cloudlog an event
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user