Industry guru Dave Taylor answers free tech support questions about a wide variety of business and technical topics, including blogging, Google AdSense, MySpace, Sony PSP, Apple iPod, Mp3 players, management, Linux, SEO, Mac OS X, Facebook, Twitter, LinkedIn and Microsoft Windows.

Can I disable "wake on lid open" on my MacBook?

My Mac has a rather flaky lid catch and I'd love to figure out a way that I can disable the "wake on lid open" capability of the MacBook. I understand that there is some sort of solution, but for the life of me I can't find anything!


Dave's Answer:

It's possible that there's a way to do this with a Mac application, but the only way I know to change this setting is from the command line in the Terminal application (Applications --> Utilities --> Terminal.app).

Open it up and type in the following command:

$ pmset -g
Active Profiles:
Battery Power -1*
AC Power -1
Currently in use: sms 1
hibernatefile /var/vm/sleepimage
acwake 0
sleep 30
halfdim 1
hibernatemode 3
disksleep 10
displaysleep 10
lidwake 1
lessbright 1

The key setting there is lidwake which is enabled, as you can see by its "1" value. To disable this particular setting you need to use the "pmset" command again, but this time you need to be the administrator since you're actually changing something:

$ sudo pmset -a lidwake 0
$

Now if you run the "pmset -g" command again you'll see that the "lidwake" setting is zero, not one. That's all you need to do. Now, until you use the command to reset the value to 1, you'll have a Mac that doesn't wake up when you open the lid.

By the way, while we're looking at the "pmset" command, note that there are a number of other settings you can tweak, including the time-to-sleep, whether your screen should dim, and a lot more. Check out the man page for the command (type "man pmset") and scroll down to the bottom to read all the examples. Very useful utility!

By the way, my PowerBook had the same problem with a flaky screen latch, a problem worsened by the screen warping. I finally ended up always leaving it screen-down and having a tightly-fitting fabric envelope to keep the unit closed in my computer bag. It would have been a far smarter thing to have known about "pmset", however!

Good luck to you!



Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Simpy.

Subscribe!

Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.

Comments

Great stuff, Dave ... thanks! The latch on my trusty old iBook gave up the ghost ages ago. I thought about going for the impromptu (you can do anything with) duct tape latch, but wisely tossed the idea aside ...

Posted by: Daniel Gray at March 19, 2007 9:44 AM

I have a lot to say, but ...
Starbucks coffee cup I have a lot to say, and questions of my own for that matter, but most of all I'd like to say thank you for all your efforts on this Web site by buying you a chai!

I do have a comment, now that you mention it!









Remember personal info?


Please note that I will never send you any unsolicited commercial email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.









Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.


Help!





Subscribe to
Ask Dave Taylor!

Add to Google Reader
Add to My Yahoo!
Subscribe in NewsGator Online

RDF   XML

Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.


Recent Entries
Join the List!
Join my author info mailing list, where you'll learn about my upcoming books, speaking gigs, and more!


Book Links
© 2002 - 2008 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]