Disabling sleep mod when closing MacBook lid

I was wondering if anyone knows a way to disable sleep mode when closing the lid of my MacBook?

Basically I'm going to be intermittently connecting it to my LCD TV and was going to lay it on a shelf in my TV stand during that time.

I found this Terminal command online and was wondering if anyone knows if it would work and be safe?

******************************************************************************

Open up Terminal and type:

sudo pmset -a lidwake 0

This will disable the sleep/wake feature when opening or closing the lid.

To reenable it, type:

sudo pmset -a lidwake 1

To check the status of the lid wake feature type:

pmset -g

And look for the lidwake value.
0 = Disables
1 = Enabled

******************************************************************************

Kind regards,

Mark

2.4GHz MacBook (Oct 08) [4GB RAM)], Mac OS X (10.6.2), iPhone 3GS owner

Posted on May 7, 2010 12:40 PM

Reply
Question marked as ⚠️ Top-ranking reply

Posted on May 7, 2010 1:29 PM

http://support.apple.com/kb/ht3131
5 replies
Sort By: 

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Disabling sleep mod when closing MacBook lid

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.