Send Mac to sleep with external screen and closing the lid (Yosemite)
I had the problem of my Mac not going into sleep when external screen is connected and closing the lid. Luckly I came across this advice which indeed, did the trick:
- Disable external Monitor
- Type
sudo nvram boot-args="iog=0x0"
- and restart
VoilĂ !
Update : With Yosemite you need to type:
sudo nvram boot-args="niog=1"