How does idle time work?

If you are passive or inactive for sometime, then idle time will be activated.