Apple Intelligence now features Image Playground, Genmoji, Writing Tools enhancements, seamless support for ChatGPT, and visual intelligence.

Apple Intelligence has also begun language expansion with localized English support for Australia, Canada, Ireland, New Zealand, South Africa, and the U.K. Learn more >

You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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 Top-ranking reply

Posted on Aug 1, 2013 1:33 PM

I'll second this response. As someone who is constantly moving around while at work - conference room to conference room to office to meeting to ... - it is far more dangerous for my laptop to be open than it is closed. Sure, keeping it running while in a roller-bag is not good for the hard drive... and I have no problem letting it sleep / hibernate / or even fully shutting down. HOWEVER... there are too many good business reasons to shut the lid without anything happening.


1. Someone walks into my office and I don't want them to see the confidential information on my screen (no... not ****... just good security)


2. I'm walking down the hall to a meeting and have the same issue. Why should I advertise what I'm working on? What if it's the latest layoff list?


3. My current employeer has great wireless access but requires a formal signoff to connect (via a web-page with ID/PW). What happens when my laptop goes to sleep? I have to re-authenicate!


Regardless of how you personally feel about the issue, this type of behavior should be considered a basic security practice as well as a convenience.


In response to some of the options presented above:


a. I have an external mouse connected. Doesn't make a difference.

b. Sharing your internet connection? Seriously? That's a terrible idea as a general practice.

c. Running a 3rd party program may be OK, but every new program brings some risk. If a 3rd party program can do it... why doesn't Apple just expose the setting.


Apple: I can run both Linux and Windows and have the OPTION to let my machine run with the lid closed. Please give us the same courtesy.


Cheers,


Jim

96 replies
Question marked as Top-ranking reply

Aug 1, 2013 1:33 PM in response to revacuate

I'll second this response. As someone who is constantly moving around while at work - conference room to conference room to office to meeting to ... - it is far more dangerous for my laptop to be open than it is closed. Sure, keeping it running while in a roller-bag is not good for the hard drive... and I have no problem letting it sleep / hibernate / or even fully shutting down. HOWEVER... there are too many good business reasons to shut the lid without anything happening.


1. Someone walks into my office and I don't want them to see the confidential information on my screen (no... not ****... just good security)


2. I'm walking down the hall to a meeting and have the same issue. Why should I advertise what I'm working on? What if it's the latest layoff list?


3. My current employeer has great wireless access but requires a formal signoff to connect (via a web-page with ID/PW). What happens when my laptop goes to sleep? I have to re-authenicate!


Regardless of how you personally feel about the issue, this type of behavior should be considered a basic security practice as well as a convenience.


In response to some of the options presented above:


a. I have an external mouse connected. Doesn't make a difference.

b. Sharing your internet connection? Seriously? That's a terrible idea as a general practice.

c. Running a 3rd party program may be OK, but every new program brings some risk. If a 3rd party program can do it... why doesn't Apple just expose the setting.


Apple: I can run both Linux and Windows and have the OPTION to let my machine run with the lid closed. Please give us the same courtesy.


Cheers,


Jim

Aug 29, 2012 10:02 AM in response to Satyen1

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.

Jan 10, 2013 2:43 AM in response to Satyen1

Hi,

The best way I found to do this without any other app is to check "share internet connection" (or whatever it's called in English) in the sharing pref pane.

That way, if Wifi is connected and if your MBP is on mains, then closing the lid does not make it go to sleep. It'll continue to download, for example. The minute you pull out the mains cord, it'll go to sleep.

Jun 2, 2013 6:38 PM in response to Michael Black

What an absurd limitation and incredible oversite! If you've used any other operating system on a laptop long enough you'll know how convienient it is to be able to shut the lid without it sleeping in certain situations. Two quick examples:


You have a virtual machine running inside you laptop for development and you want to walk half a block away to the other coffee shop. - Seriously? I have to walk down the street with my open laptop in one hand and my coffee in the other to prevent the silly thing from sleeping? What if it's raining? I have to get my laptop wet simly because I can't flip a software switch to tell it not to sleep when I close the lid? MAJORLY dissappointing Apple.


You work in a large building, and you need to show your boss your work, but he/she is in the opposite corner of the building. I either have to walk through the whole building opening and bumping into heavy doors with laptop open, (forget taking my coffee with me!) or I have to make my boss wait while my machine starts back up and re-connects to the wifi, etc. - That's Rediculous!


I'm a little embarassed to be seen with this Macbook now. Such arbitrary limitations seem to be frequent. I can't do the things I could with a regular laptop running any other unix OS.


Apple, I like your ability to make things easy for people who don't know about computers, but that is not mutually exclusive with allowing more technical people to do what they need to do. It's a simple software switch you are choosing not to make available to us.

Jul 10, 2013 7:04 PM in response to tomdextrine

Reply to:


tomdextrine



Re: How to prevent laptop from sleep when lid closed


Jan 10, 2013 2:43 AM (in response to Satyen1)


Hi,

The best way I found to do this without any other app is to check "share internet connection"

(or whatever it's called in English) in the sharing pref pane.

That way, if Wifi is connected and if your MBP is on mains, then closing the lid does not

make it go to sleep. It'll continue to download, for example. The minute you pull out the mains

cord, it'll go to sleep.

MacBook Pro, Mac OS X (10.7.2)



-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -------------------------------------------------------------




Very nice.... Worked Perfectly for me, Tanks!


Message was edited by: YoDaddy

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


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

Jul 10, 2013 7:11 PM in response to revacuate

As said Courcoul, dropping a running laptop into a backpack and bouncing down the hallway with the HD still spinning (and the read/write head bouning about .00004 inches away from the spinning platters) is not the wisest of choices, at least in my reality.


You are welcome to your own reality, and accept all risks that come with it.

Aug 1, 2013 4:12 PM in response to Jim Robinson Jr

Well spoken Jim, much better than I did. This is a very legitimate need. I have been using NoSleep in the meantime, but seriously Apple, stop disabling us.


Yes a spinning hard drive is not a good thing to jar, but if you listen while you're moving you're laptop you quickly get a feel for how it responds when it's moved. Just be gentle, as always, and if you're going to throw it in something like a backpack, make sure it's sleeping first. (Heat concerns are formost.)

Aug 6, 2013 9:28 PM in response to Satyen1

I am new to Mac...


But I have been in IT for long time and what is being asked for is not only SIMPLE but it has been industry standard in other OS's.


Trying to tell people (especially paternalistically) that it cannot or shouldn't be done is just plain silly. No one hear is suggesting closing a lid and then juggling with their laptop and a chainsaw at the same time... closing a lid, sticking it under your arm and walking to another office is not only simple but it is safe and responsible AND normal.


Just because Apple hasn't addressed it does not mean it shouldn't be done. When the first iphone came out "cut & paste" wasn't an option... was it because it shouldn't be an option?


Power options should be user controlled and if someone is unfortinate enough to munch a HDD then it is their problem and they will learn. The rest of us will walk from room to room responsibly.

Aug 11, 2013 6:07 PM in response to Veloslave

I'm considering purchasing a new Macbook Pro (switching from an all-Windows life).


I keep my laptop in the living room, usually have it leaning up against my couch or chair with the lid closed. But one thing I do quite often is download or upload large files (whether it be a new 2+ gig download from MSDN or uploading a big HD video from my video camera to YouTube). I start such an upload/download and close the lid, put it back into its resting place and walk away. I don't want to leave the lid open sitting on the floor where the cat can walk ontop of the keyboard, or someone might kick it, or something else. It's just too convenient to close the lid and put it out of the way while it does the work.


This is obviously not a CPU intensive task, so overheating is not something I would have to worry about.


I still want to buy it... I'm ready to move away from Windows. Just glad I found out about this beforehand. Would hate to resume my habits only to find out it did nothing while I closed the lid. The sharing of the internet connection sounds like my best bet... just would of course protect it so no one can get in it.

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