When I close the Macbook (Mac OS Lion) lid it usually goes to sleep. But with an external display attached and a usb mouse attached the computer just switches to using the external display, rather than sleeping when the lid is closed. From here , we see that we should use the apple menu to explicitly send the computer to sleep.
I've moved to kaushikghose.wordpress.com