PowerNap
Just noticed a new addition to Ubuntu: PowerNap. I have a server that I use to offload running some tests from my primary development machine. I start jobs via a web interface, and they retrieve the sources to test using git and svn. The net result is that there is no keyboard or mouse activity, not even ssh.
PowerNap’s value proposition is that it monitors processes, looking for arbitrary regular expressions, and considers the presence of matching processes as activity. Simple and effective.
PowerWake determines and caches MAC addresses, simplifying wakeup.