idle detection

John Bailey rekkanoryo at rekkanoryo.org
Wed Jul 25 23:42:14 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sean Egan wrote:
> It seems like perhaps the best thing to do is to make the IDLEMARK
> constant, currently set to 10 minutes, use the value set in that
> preference instead, and poll that frequently when not idle. When we
> are idle, we should poll very frequently (once a second, even?) to
> make sure we come back as soon as possible.
> 
> This negates some of the power-saving goals of #1113, but if polling
> is the only way to determine idle time, that seems unavoidable.
> 
> Is polling the only way to determine idle time?

Polling every second is a bit extreme.  What's wrong with checking every minute,
using whatever minute-precision stuff Richard introduced that is escaping me at
the moment?

John
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGqBgWBWJH/emdNtsRAsJTAJ9VqGKLZxEIzhjQFtJKOZcZX961MQCgpAqC
srZ9BPLjcF4jBGcrZduPMpI=
=rMWw
-----END PGP SIGNATURE-----




More information about the Devel mailing list