Sets the interval, in seconds, used to determine when the system is in an idle state for idle.onStateChanged
events. The default interval is 60 seconds.
The detection interval is specific to the extension that calls the method. Changing the interval in one extension will not affect the detection interval in another extension.