In Snow Leopard, whenever you close the lid of a MacBook, it puts it into sleep mode. Simple as that.
In Lion, it only puts it into sleep mode if it's running on it's battery. If it's plugged in it stays awake.
Does anybody know how I can get MacBook to start sleeping when I close the lid, regardless of charging state again?