Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Tomovich

macrumors member
Original poster
Dec 5, 2007
81
2
Hello

I would like to know if I can look up the sleep and safe sleep history log of my MacBook. I would like to know if my Mac went into safe sleep or if it went down because the battery was out of power.

There's "last reboot" and "last shutdown" so I thought maybe there's also "last sleep" but that gave me this:

wtmp begins Sat Dec 15 13:24

But I don't know what it means. And it probably isn't what I'm looking for.
Does somebody know what I need to do to find it?

Thanks!

EDIT: I found something in the console, I think this is what I need:

Code:
17:40:17.349828 +0100    powerd    [System: PrevIdle DeclUser SRPrevSleep kCPU kDisp]
17:40:32.360040 +0100    powerd    [System: DeclUser SRPrevSleep kCPU kDisp]
17:40:32.361071 +0100    powerd    Summary- [System: DeclUser kDisp] Using Batt(Charge: 15)
17:40:32.365820 +0100    powerd    Entering Sleep state due to 'Clamshell Sleep':
17:40:34.069151 +0100    powerd  
18:12:11.022434 +0100    powerd  
18:12:11.022995 +0100    powerd    Kernel Idle sleep preventers: IODisplayWrangler
18:12:11.040125 +0100    powerd    Display is turned on
18:12:11.045508 +0100    powerd    [System: DeclUser kDisp]
18:12:11.049496 +0100    powerd    [System: DeclUser kDisp]
18:12:11.067787 +0100    powerd    Warning level: 1 time: -1 cap: 837
18:12:13.921374 +0100    powerd    Wake from Normal Sleep [CDNVA] due to EC.LidOpen/Lid Open:
18:12:13.922127 +0100    powerd    hibmode=3 standbydelay=4200
18:12:13.922741 +0100    powerd    WakeTime: 3.535 sec
18:12:13.932312 +0100    powerd  
18:12:13.937867 +0100    powerd    Kernel Idle sleep preventers: -None-
18:12:13.955529 +0100    powerd    Display is turned off
18:12:13.955778 +0100    powerd    [System: PrevIdle DeclUser kDisp]
18:12:13.956077 +0100    powerd    [System: PrevIdle DeclUser kDisp]
18:12:13.956487 +0100    powerd    [System: PrevIdle DeclUser kDisp]
18:12:13.956752 +0100    powerd    [System: PrevIdle DeclUser kDisp]
18:12:13.957005 +0100    powerd    [System: PrevIdle DeclUser kDisp]
18:12:16.029529 +0100    powerd    Entering Sleep state due to 'Low Power Sleep':
18:12:34.257470 +0100    powerd    [System: PrevIdle DeclUser kDisp]
18:12:38.565564 +0100    powerd    [System: PrevIdle DeclUser kDisp]
18:12:44.033037 +0100    powerd  
18:16:46.463983 +0100    powerd    Summary- [System: PrevIdle DeclUser IPushSrvc kDisp] Using AC(Charge: 0)
18:16:46.504117 +0100    powerd    Display is turned on
18:16:46.523945 +0100    powerd  
18:16:46.531784 +0100    powerd    Kernel Idle sleep preventers: IODisplayWrangler
18:16:46.550362 +0100    powerd    Wake from Hibernate [CDNVA] due to EC.PowerButton/User:
18:16:46.552817 +0100    powerd    hibmode=3 standbydelay=4200
18:16:46.922414 +0100    powerd    [System: PrevIdle DeclUser SRPrevSleep IPushSrvc kCPU kDisp]
18:16:46.954923 +0100    powerd    WakeTime: 276.166 sec
18:16:47.211930 +0100    powerd    [System: PrevIdle DeclUser SRPrevSleep IPushSrvc kCPU kDisp]

If I understand correctly, then I closed the MacBook with a battery charge of 15%. Then it went into normal sleep. About 32 minutes later, I opened the MacBook again and the display was turned on. I don't completely understand this:

Code:
18:12:13.921374 +0100    powerd    Wake from Normal Sleep [CDNVA] due to EC.LidOpen/Lid Open:
18:12:13.922127 +0100    powerd    hibmode=3 standbydelay=4200
18:12:13.922741 +0100    powerd    WakeTime: 3.535 sec

The display was immediately turned off and went in "low power sleep".

I don't understand this line:

Code:
18:12:13.955778 +0100    powerd    [System: PrevIdle DeclUser kDisp]

I put in the charger and it got back alive because I pushed the power button.
My assumption is correct?
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.