The event only fires onf transitions from IDLE to ACTIVE. The poll
interval used is 15 seconds. To detect changes to the other states,
you need to poll.
See for example this extension:
http://code.google.com/chrome/extensions/examples/api/idle/idle_simple.zip
> I would think it makes sense if this would accept a threshold argument
> as well. Or perhaps I'm missing something obvious.
>
> Noam
>
> --
> You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
> To post to this group, send email to chromium-...@chromium.org.
> To unsubscribe from this group, send email to chromium-extens...@chromium.org.
> For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.
>
>