2011 MacBook wakes immediately on sleeping, even after change of HD and OS I have a 2011 MacBook Pro. About six months ago it developed a sleep problem - it wakes immediately on sleeping. Occasionally when recently rebooted it will sleep as it ought, but usually not. On each waking, the log says this:

localhost kernel[0]: (AppleACPIPlatform) Wake reason: ?

Not helpful!

I've done all the obvious things (network, bluetooth, USB) and tried to reset PRAM and SMC, though the latter doesn't seem actually to reset.

More info which might be relevant - occasionally when the Mac is powered off and I plug in the charger, it boots.

Last week the original HD failed and I had a SSD installed. I also upgraded the OS from Snow Leopard to Sierra. The fault has persisted through both these changes. This leads me to wonder if this is a hardware issue.

Only other info about the machine is that it suffered the degrading-solder problem common to 2011 MacBooks. Since it happened before the Apple Repair scheme kicked in, I had it resoldered by a third-party.

Thanks for any help!

Edit: Further to this: a few things I've found: a process called 'hidd' is listed as Preventing Sleep in the Activity Monitor. Its parent is called 'launchd (1)'. And 

pmset -g assertions


gives the following:

Idle sleep preventers: IODisplayWrangler


And finally - when I put the computer to sleep, it very briefly sleeps (1s or so), but then HD starts up again. The sleep light goes off, and does not wink or re-light, but the display stays off. To 'wake' it again takes 10-15 seconds.
Since you're not actually sure if the SMC reset did anything, I'd reset both the NVRAM and SMC again (and in that order) using the steps below. 

Before doing so, ensure you have no external hardware connected and that you're using the built-in keyboard.

Reset the NVRAM

Older Macs had what's called Parameter RAM (PRAM), newer Macs use Non-Volatile Random-Access Memory (NVRAM). Here’s how to reset the NVRAM on your particular MBP:


Shut down your machine. Yes, a full shut down, not just logging out.
Press the power button and then press the commandoptionpr keys. You have to make sure you press these keys before the gray screen appears or it won’t work.
Hold those keys down until your Mac reboots again and you here the startup chime.
Let go of the keys and let your Mac reboot normally.


Note: When you log back in you may need to readjust some of your system preferences (e.g. speaker volume, screen resolution, startup disk selection, time zone information, etc).

Reset the SMC

To reset the SMC on your particular MBP, follow these steps:


Shut down your computer
Keep the power cable plugged in.
Press at the same time shiftoptioncontrol (on the left side of the built-in keyboard) and the power button
Let go
Turn your computer back on with the power button.


After resetting both the NVRAM and SMC, use your computer to determine if the issue still persists. IF it does, then test the hardware as per the instructions below.

Run Apple Hardware Test

Your model MBP uses Apple Hardware Test. To use this, follow these steps:


Shut down your MacBook Pro 
Restart your MacBook Pro
Press and hold the D key before the gray startup screen appears.
After a while, Apple Hardware Test (AHT) will start.
When prompted, select your language and click the right arrow. 
When the AHT console appears, you can choose to run Basic tests by clicking the Test button. However, I suggest you select the "Perform extended testing" checkbox before you click the Test button.
Your test results will appear in the window in the bottom-right of the console.


Note 1: that the extended test will take some time. Take a note of the results and report back. 

Note 2: If pressing and holding the D key at Step 3 doesn't work, start again at Step 1 and, at Step 3 press and hold both the OptionD keys instead. This will try and run diagnostics from the internet instead, so you will need to allow more time for it to complete.