The Chrome team is back at Google I/O on May 10!
Detect inactive users with the Idle Detection API
Thomas Steiner