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

How to prevent laptop from sleep when lid closed

I own a macbook pro 13 inch model no. A1278, my mac goes to sleep as the lid is closed. i have changed the power settings to not never put my mac on sleep, please help as it affects myy work, i want the work to go on as i close my laptop lid.

MacBook Pro, Mac OS X (10.7.4)

Posted on Aug 29, 2012 9:59 AM

Reply
Question marked as Best reply

Posted on Aug 29, 2012 10:02 AM

If you plug in an external monitor/keyboard you can run it with the lid closed.


http://support.apple.com/kb/HT3131


Otherwise, it is going to go to sleep - no way to disable that.


If you are leaving things running, why close the lid? - set sleep to never in control panels, choose a screen and HD timeout and let it run. It will run cooler if the screen is up anyway.

96 replies

Jun 28, 2016 3:58 PM in response to Satyen1

Disabling sleep mod when closing MacBook lid


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


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


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

Aug 1, 2016 1:51 PM in response to Jim Robinson Jr

There are more to be added to your list:

Once I close my lid, or any magnetic stuff (e.g. cell phone, iPad) getting close to my macbook, I have to do the following:

1. re-connecting to VPN. cool. this requires me to take out my RSA and sync it again. brilliant.

2. SSH back in all previously connected remote servers. This also includes waiting for about 1 minute for ANY previously open ssh terminals, because they got STUCK when the Lid Is Closed. OR kill these stuck terminals and reopen new terminal and ssh back in.

3. I was in a webex meeting? Cool.


Why wouldn't this feature be there? I guess this is a hard switch that can't be programmed. welcome to 2016.

Dec 9, 2016 4:03 PM in response to drakemehard

drakemehard wrote:


I agree with the sentiment expressed by Revacuate and Jim Robinsoln.


I first "drank the Apple Cool-Aid" six years ago and became an instant devote. Switching from a PC based system, the "elegance" and power made it easy to be seduced. Admittedly, with my upgrade to Yosemite I have been somewhat dismayed, however, in my opinion, Apple remains a superior product .


I find cranky diatribes sophomoric, so I will summarize my evolving (devolving ?!) opinion as briefly as possible ..


Apple, selling me a computer is not an opportunity to insert yourself in my life.

I do not like the trend that full functionality is only available through an ongoing interaction with Apple.

I paid for it, I want to take it home and do my thing. You stay in Cupertino designing great products.

You do that and I can assure the Lions share of my discretionary tech dollars.


I feel that diatribe a-brewin, so I won't mention that in the last six months I purchased a $400.00 phone and a $2800.00 laptop that are unable to share data via. bluetooth, despite the fact that both have the ability to send files to my HP ....


Revacuate, you are correct in saying that it is both simple and, to a high degree an industry standard, to allow the owner of the laptop to set the default behavior in regards to "lid up / lid down".


J


Thing is, people like you (not saying exactly you, but, you know, "Apple 'Fanboy' haters" are the firsts to buy a Mac and cry if something gets broken. You all ask for "full power over your macbook" but when you break it, you go crying asking for a refund or replacement "cos this machine don't work, it's full of poo poo".


It's very simple. If you want to use your computer with the lid open, go and buy another brand.

How to prevent laptop from sleep when lid closed

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