Warning: Missing argument 2 for wpdb::prepare(), called in /home/idev/public_html/3Noobs.com/wp-content/plugins/sharebar/sharebar.php on line 112 and defined in /home/idev/public_html/3Noobs.com/wp-includes/wp-db.php on line 990

Warning: Missing argument 2 for wpdb::prepare(), called in /home/idev/public_html/3Noobs.com/wp-content/plugins/sharebar/sharebar.php on line 124 and defined in /home/idev/public_html/3Noobs.com/wp-includes/wp-db.php on line 990

Saturday, December 15, 2012

How To Disable Wake From Sleep When Opening The Lid Of a Macbook Pro

April 27, 2011 by · Leave a Comment 


Warning: Missing argument 2 for wpdb::prepare(), called in /home/idev/public_html/3Noobs.com/wp-content/plugins/sharebar/sharebar.php on line 112 and defined in /home/idev/public_html/3Noobs.com/wp-includes/wp-db.php on line 990

Warning: Missing argument 2 for wpdb::prepare(), called in /home/idev/public_html/3Noobs.com/wp-content/plugins/sharebar/sharebar.php on line 124 and defined in /home/idev/public_html/3Noobs.com/wp-includes/wp-db.php on line 990

Well, here’s something for our MacBook Pro users! Yes, if you don’t want your MacBook Pro to wake from sleep when you open the lid of the machine, then, don’t worry, you are on the right track. Here’s presenting you how to disable wake from sleep when opening the lid of a MacBook Air using the command lines. Let’s have the commands on how to do this from below.

Disable wake from sleep when opening MacBook Pro lid

First, launch the “Terminal” in Mac OS X and type the following command;

sudo pmset lidwake 0

Then, immediately, the changes will happen, and you can verify this is working by using the -g profiles flag below, or just by closing the lid to force the MacBook to go to sleep. hence, now, when you open the lid, the Mac won’t wake from sleep.

NOTE : This will work on the MacBook, MacBook Pro and MacBook Air.

Also, you can set this back to default behavior (i.e. waking from sleep when the lid is opened) using the following command;

sudo pmset lidwake 1

Well, again, immediately, the changes wil take place.

Then, if you want to check your pmset settings, use the following command;

pmset -g profiles

Now, you’ll see something like this, grouped by battery and AC power sources;

womp 0
sms 1
hibernatefile /var/vm/sleepimage
ttyskeepawake 1
acwake 0
sleep 0
autorestart 0
halfdim 1
hibernatemode 3
disksleep 10
displaysleep 15
lidwake 0

Well, anything with a 1 next to it suggests that feature is activated, and a 0 means deactivated. The “hibernatefile” or sleepimage is where the contents of your Mac are kept when you sleep the machine, which serves as a cache file and can grow quite large depending on your RAM. However, if you want more information about the rest of the pmset functions, then use “man pmset” at the command line.

For those who are unaware, pmset is a powerful utility that offers a lot of customization for Mac OS X power management.

Well, if you’ll have any difficulty while executing the above commands, then, don’t hesitate, just write to us in our comment section below. Also, if you are successful in performing the above, then, just don’t forget to share your views and comments on this with us.


Did not find what you were looking for? Try using our below search engine..

Loading
We will send you some more information related to How To Disable Wake From Sleep When Opening The Lid Of a Macbook Pro
Article by Prativa Khuntia

Hello Friends ! This is Prativa, a full time writer who covers breaking Apple News and writes all the things about iPhone, iPad, iPod touch and Mac OS X exclusively for 3noobs.com. I love descriptive writing. Apart from that I have great interest on Science related topics as I was a Science student.

Prativa Khuntia has written 2680 articles for us.

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!