Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

My macbook goes to sleep by itself

My early 2011 macbook pro goes to sleep on its own in the middle of whatever I'm doing. It's done it maybe four times in the last few days. I can get it to wake by pressing the power button. It's running Lion. I'm not very computer-literate... Can anyone suggest a cause or a solution?

MacBook Pro

Posted on Jan 27, 2013 5:45 PM

Reply
21 replies

Jan 27, 2013 9:42 PM in response to a brody

I tried the SMC reset but it has just happened again. This time I waited to see what would happen if I didn't press anything - it went to the black sleep screen, and then seemed to restart itself and came back up on the user login screen without me having to press the power button. Should I try the hardware test?

Jan 27, 2013 10:09 PM in response to taramx

If you have more than one user account, you must be logged in as an administrator to carry out these instructions.


Triple-click anywhere in the line below to select it:


sudo pmset -g log | tail -50


Copy the selected text to the Clipboard (command-C).



Launch the Terminal application in any of the following ways:


☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)


☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.


☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.


Paste (command-V) into the Terminal window. You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.

The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.


Post any lines of output that appear below what you entered — the text, please, not a screenshot.

Jan 27, 2013 11:49 PM in response to Linc Davis

Okay, I don't know what I was doing before lol, but it's worked now. Here is the rest:


Password:

1/28/13 11:26:51 AM GMT+ slowresponse PMConnection: Response from mDNSResponder is slow (powercaps:0x0) 231 ms

1/28/13 11:26:51 AM GMT+ slowresponse PMConnection: Response from IOPowerWatcher is slow (powercaps:0x0) 231 ms

1/28/13 11:26:52 AM GMT+ slowresponse PMConnection: Response from IPConfiguration is slow (powercaps:0x0) 833 ms

1/28/13 11:26:52 AM GMT+ slowresponse PMConnection: Response from AirPort configd plug-in is slow (powercaps:0x0) 833 ms

1/28/13 11:26:54 AM GMT+ slowresponse PMConnection: Response from SystemUIServer is slow (powercaps:0x0) 3445 ms

1/28/13 11:27:06 AM GMT+ wake Wake due to EC.LidOpen EHC2: Using AC (Charge:97%)

1/28/13 11:27:06 AM GMT+ hibernatestats hibmode=3 standbydelay=4200 wr=9316 ms

1/28/13 11:27:08 AM GMT+ slowresponse PMConnection: Response from AirPort configd plug-in is slow (powercaps:0x1f) 1220 ms

1/28/13 11:27:08 AM GMT+ slowresponse PMConnection: Response from IPConfiguration is slow (powercaps:0x1f) 1222 ms

Sleep/Wakes since boot:50 Dark Wake Count in this sleep cycle:0



Time stamp Domain Message Duration Delay

========== ====== ======= ======== =====

UUID: 94552C5E-3931-443B-A084-D72E6D4B6EB9

1/28/13 1:00:24 PM GMT+1 sleep Clamshell Sleep: Using AC (Charge:100%) 6865 secs

Sleep/Wakes since boot:1 Dark Wake Count in this sleep cycle:0



Time stamp Domain Message Duration Delay

========== ====== ======= ======== =====

UUID: FF5A3734-464C-452C-8861-CBBEB16F1B54

1/28/13 1:00:33 PM GMT+1 slowresponse PMConnection: Response from SystemUIServer is slow (powercaps:0x0) 9476 ms

1/28/13 2:54:49 PM GMT+1 wake Wake due to EC.LidOpen: Using BATT (Charge:98%) 2579 secs

Sleep/Wakes since boot:0 Dark Wake Count in this sleep cycle:0



Time stamp Domain Message Duration Delay

========== ====== ======= ======== =====

UUID: 4970457D-7955-42A9-A04C-3035F0C0022E

1/28/13 3:37:48 PM GMT+1 sleep Clamshell Sleep: Using BATT (Charge:78%) 10 secs

1/28/13 3:37:48 PM GMT+1 slowresponse Kernel: Response from powerd is slow 9485 ms

1/28/13 3:37:48 PM GMT+1 slowresponse PMConnection: Response from IPConfiguration is slow (powercaps:0x0) 117 ms

1/28/13 3:37:48 PM GMT+1 slowresponse PMConnection: Response from AirPort configd plug-in is slow (powercaps:0x0) 118 ms

1/28/13 3:37:58 PM GMT+1 wake Wake due to EC.LidOpen: Using BATT (Charge:78%)

1/28/13 3:37:58 PM GMT+1 hibernatestats hibmode=3 standbydelay=4200 wr=7526 ms

Sleep/Wakes since boot:2 Dark Wake Count in this sleep cycle:0



Time stamp Domain Message Duration Delay

========== ====== ======= ======== =====

UUID: 59B6ED3E-A54D-4764-BC0D-64BE71286103

1/28/13 4:00:59 PM GMT+1 sleep Clamshell Sleep: Using BATT (Charge:68%) 47 secs

1/28/13 4:01:46 PM GMT+1 wake Wake due to EC.PowerButton PWRB: Using BATT (Charge:67%)

1/28/13 4:01:47 PM GMT+1 slowresponse PMConnection: Response from SystemUIServer is slow (powercaps:0x1f) 955 ms

Sleep/Wakes since boot:1 Dark Wake Count in this sleep cycle:0



Time stamp Domain Message Duration Delay

========== ====== ======= ======== =====

UUID: 6A97E4A0-FC6E-4334-9400-E3805BCC04C4

1/28/13 4:14:27 PM GMT+1 sleep Clamshell Sleep: Using AC (Charge:69%) 2794 secs

1/28/13 5:01:01 PM GMT+1 wake Wake due to EC.LidOpen: Using AC (Charge:73%)



Total Sleep/Wakes since boot:1

Taras-MacBook-Pro:~ tarahanrahan$

Feb 1, 2013 12:01 AM in response to Linc Davis

Okay, after a couple of days, it's started doing it again. Here is what I've copied from terminal.


Taras-MacBook-Pro:~ tarahanrahan$ sudo pmset -g log | tail -50

Password:

1/31/13 8:08:14 AM GMT+1 wake Wake due to EC.LidOpen EHC2: Using BATT (Charge:48%) 521 secs

1/31/13 8:08:14 AM GMT+1 hibernatestats hibmode=3 standbydelay=4200 wr=8091 ms

Sleep/Wakes since boot:14 Dark Wake Count in this sleep cycle:0



Time stamp Domain Message Duration Delay

========== ====== ======= ======== =====

UUID: F881366F-4B4C-4AB1-800B-54BC5D08AA2A

1/31/13 8:16:55 AM GMT+1 sleep Idle Sleep: Using BATT (Charge:45%) 73 secs

1/31/13 8:18:08 AM GMT+1 Dark Wake DarkWake due to EHC2: Using BATT (Charge:45%) 18 secs

1/31/13 8:18:08 AM GMT+1 hibernatestats hibmode=3 standbydelay=4200 wr=8193 ms

1/31/13 8:18:26 AM GMT+1 sleep Idle Sleep: Using BATT (Charge:45%) 31937 secs

1/31/13 5:10:43 PM GMT+1 wake Wake due to EC.LidOpen EHC2: Using BATT (Charge:40%) 5360 secs

1/31/13 5:10:43 PM GMT+1 hibernatestats hibmode=3 standbydelay=4200 wr=8101 ms

Sleep/Wakes since boot:16 Dark Wake Count in this sleep cycle:1



Time stamp Domain Message Duration Delay

========== ====== ======= ======== =====

UUID: 51F1CFCD-CD18-4C55-90AE-2F714FDB87E9

1/31/13 6:40:03 PM GMT+1 sleep Clamshell Sleep: Using AC (Charge:41%) 51965 secs

2/1/13 9:06:08 AM GMT+10 wake Wake due to EC.LidOpen: Using AC (Charge:99%) 1692 secs

2/1/13 9:06:08 AM GMT+10 hibernatestats hibmode=3 standbydelay=4200 wr=7959 ms

Sleep/Wakes since boot:17 Dark Wake Count in this sleep cycle:0



Time stamp Domain Message Duration Delay

========== ====== ======= ======== =====

UUID: 2BA0DB96-ED41-4282-8018-4021FDF001E6

2/1/13 9:34:20 AM GMT+10 sleep Clamshell Sleep: Using AC (Charge:99%) 1900 secs

2/1/13 10:06:00 AM GMT+1 Dark Wake DarkWake due to EHC2: Using AC (Charge:99%) 45 secs

2/1/13 10:06:00 AM GMT+1 hibernatestats hibmode=3 standbydelay=4200 wr=8317 ms

2/1/13 10:06:45 AM GMT+1 sleep Clamshell Sleep: Using AC (Charge:99%) 16182 secs

2/1/13 2:36:27 PM GMT+10 wake Wake due to EC.LidOpen: Using AC (Charge:99%) 6256 secs

2/1/13 2:36:27 PM GMT+10 hibernatestats hibmode=3 standbydelay=4200 wr=8181 ms

Sleep/Wakes since boot:19 Dark Wake Count in this sleep cycle:1



Time stamp Domain Message Duration Delay

========== ====== ======= ======== =====

UUID: 8D91D144-C6FF-4C96-B640-171C3A5943CE

2/1/13 4:20:43 PM GMT+10 sleep Clamshell Sleep: Using AC (Charge:99%) 1689 secs

2/1/13 4:48:52 PM GMT+10 wake Wake due to EC.LidOpen: Using BATT (Charge:98%) 2933 secs

2/1/13 4:48:52 PM GMT+10 hibernatestats hibmode=3 standbydelay=4200 wr=8211 ms

Sleep/Wakes since boot:20 Dark Wake Count in this sleep cycle:0



Time stamp Domain Message Duration Delay

========== ====== ======= ======== =====

UUID: 93D88FA4-3C8B-4828-B1E9-A247021A5BD6

2/1/13 5:37:45 PM GMT+10 sleep Clamshell Sleep: Using BATT (Charge:85%) 11 secs

2/1/13 5:37:56 PM GMT+10 wake Wake due to EC.PowerButton PWRB: Using BATT (Charge:85%)

2/1/13 5:37:56 PM GMT+10 hibernatestats hibmode=3 standbydelay=4200 wr=11088 ms



Total Sleep/Wakes since boot:21

Taras-MacBook-Pro:~ tarahanrahan$

Last login: Fri Feb 1 17:53:04 on console

Taras-MacBook-Pro:~ tarahanrahan$ sudo pmset -g log | tail -50

Password:

1/31/13 8:16:55 AM GMT+1 sleep Idle Sleep: Using BATT (Charge:45%) 73 secs

1/31/13 8:18:08 AM GMT+1 Dark Wake DarkWake due to EHC2: Using BATT (Charge:45%) 18 secs

1/31/13 8:18:08 AM GMT+1 hibernatestats hibmode=3 standbydelay=4200 wr=8193 ms

1/31/13 8:18:26 AM GMT+1 sleep Idle Sleep: Using BATT (Charge:45%) 31937 secs

1/31/13 5:10:43 PM GMT+1 wake Wake due to EC.LidOpen EHC2: Using BATT (Charge:40%) 5360 secs

1/31/13 5:10:43 PM GMT+1 hibernatestats hibmode=3 standbydelay=4200 wr=8101 ms

Sleep/Wakes since boot:16 Dark Wake Count in this sleep cycle:1



Time stamp Domain Message Duration Delay

========== ====== ======= ======== =====

UUID: 51F1CFCD-CD18-4C55-90AE-2F714FDB87E9

1/31/13 6:40:03 PM GMT+1 sleep Clamshell Sleep: Using AC (Charge:41%) 51965 secs

2/1/13 9:06:08 AM GMT+10 wake Wake due to EC.LidOpen: Using AC (Charge:99%) 1692 secs

2/1/13 9:06:08 AM GMT+10 hibernatestats hibmode=3 standbydelay=4200 wr=7959 ms

Sleep/Wakes since boot:17 Dark Wake Count in this sleep cycle:0



Time stamp Domain Message Duration Delay

========== ====== ======= ======== =====

UUID: 2BA0DB96-ED41-4282-8018-4021FDF001E6

2/1/13 9:34:20 AM GMT+10 sleep Clamshell Sleep: Using AC (Charge:99%) 1900 secs

2/1/13 10:06:00 AM GMT+1 Dark Wake DarkWake due to EHC2: Using AC (Charge:99%) 45 secs

2/1/13 10:06:00 AM GMT+1 hibernatestats hibmode=3 standbydelay=4200 wr=8317 ms

2/1/13 10:06:45 AM GMT+1 sleep Clamshell Sleep: Using AC (Charge:99%) 16182 secs

2/1/13 2:36:27 PM GMT+10 wake Wake due to EC.LidOpen: Using AC (Charge:99%) 6256 secs

2/1/13 2:36:27 PM GMT+10 hibernatestats hibmode=3 standbydelay=4200 wr=8181 ms

Sleep/Wakes since boot:19 Dark Wake Count in this sleep cycle:1



Time stamp Domain Message Duration Delay

========== ====== ======= ======== =====

UUID: 8D91D144-C6FF-4C96-B640-171C3A5943CE

2/1/13 4:20:43 PM GMT+10 sleep Clamshell Sleep: Using AC (Charge:99%) 1689 secs

2/1/13 4:48:52 PM GMT+10 wake Wake due to EC.LidOpen: Using BATT (Charge:98%) 2933 secs

2/1/13 4:48:52 PM GMT+10 hibernatestats hibmode=3 standbydelay=4200 wr=8211 ms

Sleep/Wakes since boot:20 Dark Wake Count in this sleep cycle:0



Time stamp Domain Message Duration Delay

========== ====== ======= ======== =====

UUID: 93D88FA4-3C8B-4828-B1E9-A247021A5BD6

2/1/13 5:37:45 PM GMT+10 sleep Clamshell Sleep: Using BATT (Charge:85%) 11 secs

2/1/13 5:37:56 PM GMT+10 wake Wake due to EC.PowerButton PWRB: Using BATT (Charge:85%)

2/1/13 5:37:56 PM GMT+10 hibernatestats hibmode=3 standbydelay=4200 wr=11088 ms

Sleep/Wakes since boot:21 Dark Wake Count in this sleep cycle:0



Time stamp Domain Message Duration Delay

========== ====== ======= ======== =====

UUID: 94925975-CD15-4135-910F-89DCEF6A905D

2/1/13 6:00:13 PM GMT+10 sleep Clamshell Sleep: Using BATT (Charge:79%) 23 secs

2/1/13 6:00:36 PM GMT+10 wake Wake due to EC.PowerButton PWRB: Using BATT (Charge:79%)



Total Sleep/Wakes since boot:1

Taras-MacBook-Pro:~ tarahanrahan$

My macbook goes to sleep by itself

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.