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'

4 Responses to “Hibernate with the MacBook Pro”

  1. Dion Almaer says:

    Hi Todd,

    Glad it was useful. Enjoying the MBP?

    Dion

  2. Chuck Cheeze says:

    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.

  3. dalesan says:

    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!

  4. Jinesh Udani says:

    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.

Leave a Reply