AIGHT GUYS!
This is how to fix it, and i guarantee u its 90% the cause.!
first of all, if you are a lion user (most likely all of you with this problem) go to system preferences, and then to sharing. turn all sharing OFF. especially printers....
open a terminal, and type in :
pmset -g assertions
This will show u if somehting is preventing ur mac from sleeping. on the left colomn, it should say "PreventSystemSleep" and on the right colomn a number. mine was one, which is probably the same for you guys.
Go to system preferences > Print & Scan > Open Print Queue. Make sure all the printing queues are empty and nothing is in there. You do not need to pause any or anything like that just make sure nothing is in the queue.
Close your macbook lid and look at ur light 😉 it should be sleeping. HOPE THIS WORKS FOR U
took me long enough to find out.
dont hesitate to ask me any questions 🙂