Hibernate with the MacBook Pro
Thanks to Dion for pointing out how to get your MacBook to hibernate! When I wrote about switching to the MacBook Pro one of my complaints was that upon shutting the lid the laptop doesn’t hibernate, it sleeps, and they offer you no easy way to switch it via the GUI.
I don’t mind waiting a for my laptop to start when I open the lid and the little white sleeping light drives me nuts, especially if I forget and leave it in our bedroom before going to bed. That sucker lights up the room at night!
So I added the two aliases that Dion suggest, sourced my bashrc, ran hibernateon, shut the lid, and off goes the light… amen!
alias hibernateon='sudo pmset -a hibernatemode 1'
alias hibernateoff='sudo pmset -a hibernatemode 0'
April 21st, 2006 at 9:01 am
Hi Todd,
Glad it was useful. Enjoying the MBP?
Dion
April 22nd, 2006 at 6:09 pm
Hi Todd, not so new to MBP anymore but still learning bash stuff. Would you consider doing a step by step? For instance, what does “added two aliases” mean? How do I do that and where? Same with “sourced my bashrc” and “ran hibernateon”. Just a little help for a noob.
May 8th, 2006 at 8:12 am
Thanks for the great tip. My MBP has a bad tendency to wake up while in my backpack. This morning I could’ve fried an egg on it. This hibernation tip should do nicely.. Thanks!
August 16th, 2006 at 11:34 am
This is a brilliant tip. I have been using Windows all these years and always used to Hibernate my laptop since it helps me to start my laptop quickly. Ever since I moved to a MBP, I was missing this feature, Thanks a lot.