Here is the problem of my macbook: after closing the lid on the Mac laptop, the machine sleeps. Then if I remove the cable/USB driver etc. from the macbook, it keeps waking up and sleeping. Now:
- check /Library/Preferences/SystemConfiguration/, I guess there is no file "com.apple.AutoWake.plist' there.
- System Preferences - Energy Saver - Schedule... - check 'Start up or wake'.
- Now the file "com.apple.AutoWake.plist' appears
- Uncheck 'Start up or wake' in Schedule window.