stricter memory usage check (#20985)

old-commit-hash: c04b47938d34e8f320e6483a47509ca5d7ff9d1b
This commit is contained in:
Adeeb Shihadeh
2021-05-21 02:25:11 -07:00
committed by GitHub
parent a14fc7c5bd
commit d7a2931a1f
+1 -1
View File
@@ -187,7 +187,7 @@ class Controls:
if self.sm['deviceState'].freeSpacePercent < 7:
# under 7% of space free no enable allowed
self.events.add(EventName.outOfSpace)
if self.sm['deviceState'].memoryUsagePercent > 90:
if self.sm['deviceState'].memoryUsagePercent > 65:
self.events.add(EventName.lowMemory)
# Alert if fan isn't spinning for 5 seconds