New answers tagged power
I was hoping to figure out how to do this with the pmset utility (man page). I feel like it's possible, but I couldn't see anything obvious (to me) looking through the options. Anyway, here's another app that will do what you want: https://code.google.com/p/macosx-nosleep-extension/
The power adapter is required for closed display mode on any Apple portable machine, without it you can't use closed display mode. Reference: http://support.apple.com/kb/ht3131 There is however a third party solution, called Caffine. Which when enabled, forces the mac to stay on until the battery dies, it won't ever sleep. ...
I often use the smaller Airport cable to power the Mac power adapter without having a ground and you can safely do the opposite as long as you get a firm connection and support the AirPort hardware if the plug extends lower than the bottom of the device.
Top 50 recent answers are included