Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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 Best reply

Posted on May 7, 2010 1:29 PM

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

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 ID.