Can someone suggest a good way of detecting a period of idleness? That is, a way to get a callback after the event loop has done nothing for N seconds. (I suppose some combination of an ev_idle, ev_timer, and maybe ev_check watchers...)