I often run into the situation, that I start a long-ruing process, then leave the PC for a while and come back to a suspended system. So I though that there must be a better, more intelligent way of deciding whether or not to suspend the system.
Some applications, e.g. music-players, inhibit a system-suspend via a DBus-call, but that requires support by the application, which is often not given (especially with terminal-applications).
So my question is: Would it be a good idea to include the load-avg of the last, say, 5 minutes into the suspend-decision and prevent a system-suspend if the load-avg is above a certain value (e.g. 1) instead of only relying on user-idle-time and processes preventing suspend via DBus or similar mechanisms?
برچسب:
نویسنده: استخدام کار