loadavgd
Monitor CPU load and terminal activity, execute command when idle
The loadavgd program monitors the CPU load and user input at (pseudo-)
terminals. It provides a kind of power management for server systems,
where keyboard or mouse activity can not be queried.
Loadavgd was written because powernap did not work on my system.
If the load is below a certain treshold and there is no input at any
(pseudo-) terminal for a given amount of time, an action is issued.
This action might be, for instance, "suspend". The D-Bus API of
systemd-logind is called...