* James Kosin <email@example.com> [100506 20:14]:
This assumes that you're using cached values for echo mem > /sys/power/state
and the system keeps on running.
IMHO if you want to keep the system running, then you should just use
cpuidle and implement good idle modes.
Then when someting in the userspace knows you've been idle long enough,
you can suspend.
You could just freeze the GUI process based on some policy if you
worry about misbehaving timers in various apps. This way the cpuidle
modes will allow you to run some userspace policy daemon. And then that
can suspend if needed based on how it's configured.
Hmm, yeah sounds a bit messy.