All you need is a little system maintenance.
This is how to reset the SMC (system management controller), this should take care of the sleep wake problem.
This does not reset the pram, I recommend doing that first before the SMC.
To do a PRAM reset, you need to restart your machine and hold down these 4 keys.
‘Option’, ‘Command (Cloverleaf or Apple)’, ‘R’ and 'P'.
Keep them down until you hear 4 startup chimes, this is the sound that your computer makes when it starts up, it is like a boonngg. The screen should also cycle from white to black and then back to white along with the chimes.
If you have a wireless keyboard then the procedure is a little bit different.
Use the very same keys but wait until the first chime and immediately press and hold those keys. I recommend getting your fingers ready because timing is critical.
This resets all of the system buses on your computer, USB, FireWire, display, ethernet and your keyboard/mouse/trackpad.
This will correct many faults but not necessarily yours.
If the above does not fix it then use the instructions below.
- Shut down the computer.
- Unplug the computer's power cord.
- Press and hold the power button for 5 seconds.
- Release the power button.
- Attach the computers power cable.
- Press the power button to turn on the computer.
Let me know please.