Time Out icon Time Out
You deserve a break

Inactivity not detected in Lion

Time Out Free does not detect inactivity on my Macbook Pro running Lion 10.7.3. The other odd issue is that I tried to turn on console logging and nothing is logged to the console by Time Out.

Any help would be appreciated as the lack of this feature working makes it quite annoying to use. Many times I came back from lunch only to start another 10 minute break (which I probably should not mind :)

For Normal, I have it set to Reset if idle for at least 5 minutes and for Micro I have it set for 1 minute.

Thanks,
Bob.

David Sinclair's picture

Re: Inactivity not detected in Lion

Those reset intervals might be too short, though should still work.

Time Out Free has a different application identifier from the standard one, so you'd need to use a slightly different Terminal command to enable the hidden preference:

defaults write com.dejal.timeout.free DebugScheduler YES

Re: Inactivity not detected in Lion

Thanks, that helped with the console issue. Here is the console output I got:

5/30/12 11:46:18.194 AM Time Out Free: Rescheduled normal break for 3600 seconds; next due at 5/30/12 12:46 PM
5/30/12 11:46:18.195 AM Time Out Free: Rescheduled micro break for 1200 seconds; next due at 5/30/12 12:06 PM
5/30/12 11:46:33.199 AM Time Out Free: Idle 3.5 secs; normal due 5/30/12 12:46 PM, micro due 5/30/12 12:06 PM
5/30/12 11:46:33.200 AM Time Out Free: ...not yet idle for at least a minute
5/30/12 11:46:48.199 AM Time Out Free: Idle 11.4 secs; normal due 5/30/12 12:46 PM, micro due 5/30/12 12:06 PM
5/30/12 11:46:48.200 AM Time Out Free: ...not yet idle for at least a minute
5/30/12 11:47:03.199 AM Time Out Free: Idle 26.4 secs; normal due 5/30/12 12:46 PM, micro due 5/30/12 12:06 PM
5/30/12 11:47:03.200 AM Time Out Free: ...not yet idle for at least a minute
5/30/12 11:47:18.198 AM Time Out Free: Idle 41.4 secs; normal due 5/30/12 12:46 PM, micro due 5/30/12 12:06 PM
5/30/12 11:47:18.199 AM Time Out Free: ...not yet idle for at least a minute
5/30/12 11:47:33.198 AM Time Out Free: Idle 56.4 secs; normal due 5/30/12 12:46 PM, micro due 5/30/12 12:06 PM
5/30/12 11:47:33.199 AM Time Out Free: ...not yet idle for at least a minute
5/30/12 11:47:48.198 AM Time Out Free: Idle 71.4 secs; normal due 5/30/12 12:46 PM, micro due 5/30/12 12:06 PM
5/30/12 11:47:48.201 AM Time Out Free: ...now officially idle, since 5/30/12 11:47 AM
5/30/12 11:48:03.196 AM Time Out Free: Idle 0.0 secs; normal due 5/30/12 12:46 PM, micro due 5/30/12 12:06 PM
5/30/12 11:48:03.198 AM Time Out Free: ...not yet idle for at least a minute

I would have expected that after it went idle and then came back, that the micro break due should not still be at 12:06 it should be at 12:08, 10 minutes after when I became not idle. Does that make sense?

David Sinclair's picture

Re: Inactivity not detected in Lion

According to the log, it wasn't idle long enough to reset. There will be an item about resetting the timers when that occurs. Try leaving it idle for a bit longer. You can leave Console visible and watch what happens over a few minutes.

Re: Inactivity not detected in Lion

5/30/12 9:58:17.262 PM Time Out Free: Idle 139.3 secs; normal due 5/30/12 10:34 PM, micro due 5/30/12 10:14 PM
5/30/12 9:58:17.264 PM Time Out Free: ...now officially idle, since 5/30/12 9:57 PM
5/30/12 9:58:32.263 PM Time Out Free: Idle 154.3 secs; normal due 5/30/12 10:34 PM, micro due 5/30/12 10:14 PM
5/30/12 9:58:32.266 PM Time Out Free: ...now officially idle, since 5/30/12 9:57 PM
5/30/12 9:58:32.266 PM Time Out Free: ...resetting micro timer
5/30/12 9:58:32.268 PM Time Out Free: Rescheduled micro break for 1200 seconds; next due at 5/30/12 10:18 PM

I see what is going on. When I set it to 1 minute, it waits for at least 2 minutes before resetting the micro timer. Any reason for that? Why not do it after 1 minute like the UI would imply?

David Sinclair's picture

Re: Inactivity not detected in Lion

As you can see, it waits till idle for at least a minute before considering it "officially" idle, to smooth out brief pauses while working. So setting the reset at one minute effectively means one minute after officially idle.

I am reworking the scheduler in version 2, so I'll see if I can improve this.