Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Are sleep/wake times logged?

Are sleep/wake times logged?
Thread Tools
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status: Offline
Reply With Quote
Oct 24, 2006, 12:06 PM
 
Are sleep/wake times recorded in one of the system logs?

kman
     
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status: Offline
Reply With Quote
Oct 24, 2006, 02:00 PM
 
Yes, in system.log.

tooki
     
Senior User
Join Date: Nov 2005
Status: Offline
Reply With Quote
Oct 24, 2006, 02:12 PM
 
Under Applications-->Utilities, open up the Console. That will take you to the log that shows sleep/wake times, amongst other things.
     
kman42  (op)
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status: Offline
Reply With Quote
Oct 25, 2006, 10:50 AM
 
Arrrghhh! I downloaded DssW Sleep Monitor because it is easier than sifting through the logs. I have my computer set to wake at 7am and go to sleep at 12:01am in the Energy Saver. Sleep Monitor shows my computer going to sleep at 12:01am and waking at 7am, but then going back to sleep 32 seconds later. I have Sleep set to never in the Energy Saver sys pref. I ran pmset -g sched to see what it says:

Scheduled power events:
[0] wakeorpoweron at 10/26/06 07:00:00 by Repeating
[1] wakeorpoweron at 10/26/06 07:00:00 by Repeating
[2] wakeorpoweron at 10/26/06 07:00:00 by Repeating
[3] wakeorpoweron at 10/26/06 07:00:00 by Repeating
[4] sleep at 10/26/06 00:01:00 by Repeating


Now why would it have 4 entries to wake at 7am? Could this be part of the problem I'm having?

24" iMac with 10.4.8.

kman
     
kman42  (op)
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status: Offline
Reply With Quote
Oct 26, 2006, 10:30 AM
 
Huh. It did it again today--woke at 7am then went back to sleep 29 seconds later. I'll try deleting some of those repeating scheduled events and see what happens. Any other ideas would be welcome.

I thought maybe the power management unit was fubar and there are apps out there that can supposedly fix this, but since the computer does wake and sleep on its own, I'm thinking it is more likely to do with the scheduling.
     
JKT
Professional Poster
Join Date: Jan 2002
Location: London, UK
Status: Offline
Reply With Quote
Oct 26, 2006, 01:59 PM
 
Do you have the password protected screensaver activated?
     
kman42  (op)
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status: Offline
Reply With Quote
Oct 26, 2006, 02:48 PM
 
Originally Posted by JKT View Post
Do you have the password protected screensaver activated?
Yes. Does that cause problems? I realize no computer is safe from someone sitting down in front of it, but I wouldn't dream of not at least putting up a facade of security on my work computer.

kman
     
JKT
Professional Poster
Join Date: Jan 2002
Location: London, UK
Status: Offline
Reply With Quote
Oct 26, 2006, 03:30 PM
 
If you don't input your password, it puts the system back to sleep after a short period of time (which I guess must be 30 seconds of inactivity given your log). As far as I know, there is no way to prevent this other than deactivating the requirement for a password, which is less than ideal.
     
kman42  (op)
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status: Offline
Reply With Quote
Oct 26, 2006, 04:27 PM
 
Well, that's just dumb.
     
Mac Elite
Join Date: Aug 2004
Location: Seattle, WA
Status: Offline
Reply With Quote
Oct 27, 2006, 06:44 PM
 
Those settings are not what you think they are... they don't define when your computer will be on and off, they are two points in time at which something happens.

So instead of meaning my computer will be on from 7AM to midnight, it means, "if my computer is alseep/off at 7am, turn it on, if it is on at 12am, turn it off."

What happens in between is immaterial. So the computer wakes up at 7, is idle (or has no proper password entered in your case) and then goes back to sleep per all the other rules you have defined as to idle to sleep time, etc.

ImpulseResponse
     
JKT
Professional Poster
Join Date: Jan 2002
Location: London, UK
Status: Offline
Reply With Quote
Oct 27, 2006, 07:19 PM
 
I don't think that is kman42's point. I believe that they want the Mac to be on and awake, yet still password protected. Currently this isn't possible to achieve - you can either have your Mac awake but not password protected, or password protected but not awake (if there is no one around to input a password). To have it awake and password protected, you have to be logged out.

My workaround is to turn off password protection, but have a limited user account that I log into when away from my Mac (this is so my EyeTV software can wake my Mac and record while I'm not around...).
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:42 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2