Lion - Macbook randomly wakes up from sleep when lid is closed I have aluminium macbook (not pro). I have recently updated to Lion. So far so good - had some minor issues with printer, sshfs, mac fuse. Managed to resolve almost all of them. 

There is one issue though i keep on having which almost destroyed my laptop. In SL when i closed the lid there would be no way laptop would wake up itself from that state (unless i connected keyboard, mouse, screen and used in clam mode).

However now every so often i close the lid and mac goes to sleep and then it just randomly wakes up and stays awake. I didn't realized once and my mac spend few hours in its thick sleeve while running. I came home and I could smell burning plastic - aka. my mac melting itself. Luckily didn't catch fire.

So far i tried following:


reinstall lion - fully wiped and started from scratch  
pulled
battery out and disconnected power supply and pressed power button
for 10 sec (resets power management apparently?)


Is anyone else experiencing same behavior?
It is possible to determine what caused the system to wake


Open Console (/Applications/Utilities/Console)
Set the search filter to 'wake'

You're looking for the latest entry that has something like this:

Wake reason = EC LID0


(In the example above, opening the display clamshell caused the machine to be woken)


Here's a list of wake 'reasons' from OSXDaily

This should shed some light on what is waking the machine, then you can go from there.