change idleMins to idleSeconds