Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'm a new Mac user. What happens when I close the lid on my MacBook Pro running OS X Lion?

Is it sleeping? Or hibernating? Something else?

share|improve this question
add comment

4 Answers 4

Short Answer

MacOSX uses Hybrid Sleep. When closing the lid, the desktop state is written to both RAM and disk.

Then, while the computer still has enough power for the RAM, it wakes from RAM (sleep). However, in case the power gets cut, the computer wakes from the disk (safe sleep).

Keep in mind, that the battery isn't actually at it's lowest charge when switching to safe sleep. It still keeps some charge left. Therefore, if you want to fully drain your battery, the computer must stay in safe sleep for several hours until the white led stops 'breathing'.

Long Answer

Here is an excerpt of the official Apple Documentation:

On all Macs:

  • The microprocessor goes into a low-power mode
  • Video output is turned off, and a connected display may turn off as well, or enter its own idle state
  • Apple-supplied hard disks spin down; third-party hard disks may spin down

On portable Macs:

  • The Ethernet port turns off, if applicable

  • Expansion card slots turn off

  • The built-in modem, if present, turns off

  • An AirPort card, if present, turns off

  • The USB connection only responds to the power key on an external keyboard

  • The optical media drive spins down

  • Audio input and output turns off

  • Keyboard illumination, if a feature of your portable computer, turns off

share|improve this answer
3  
As Mike pointed out in his answer, it is good to know that the memory is written to disk immediately when sleeping, and not just when the battery gets critically low. The difference however will be that as long as the RAM stayed powered, it will resume from RAM, but if there was a power cut, it will resume from the available memory dump on disk. –  Gerry Jan 3 '12 at 15:15
    
Ok, I'll edit this. I've also found a term for this: Hybrid Sleep –  gentmatt Jan 3 '12 at 15:39
add comment

By default, it does both sleep and hibernate -- that is to say, it powers down what it can but keeps the RAM powered so that it can resume immediately, but it also dumps the current state of the RAM to disk so that it can resume from disk if it runs out of power.

share|improve this answer
add comment

Basically, closing your Mac is what you want to do when "turning it off" in any situation. It goes to sleep (using very little power, just keeping your RAM active) and this allows it to turn back on again within only a second or so.

Additionally, whilst in this state, it makes a copy of the RAM on your hard drive in case its battery goes flat whilst it's sleeping. In this case, it will take quite a bit longer to turn back on, but this will happen only very rarely.

Bottom line is, if you close the lid, it'll remember everything of what you were doing, it'll lock your Mac and in almost all cases, it'll turn back on incredibly fast.

Also worth noting that Macs don't really get "overloaded" like Windows does. You can keep a Mac running (as in, no proper reboots) for good month or so without it "clogging up" and getting slow. Usually, the only reason you'd want to reboot is after an update or something similar.

share|improve this answer
add comment

You don't do any harm to close the lid. In fact I never shut down my Mac, I always close the lid. It's fast, it's secure, just like Mike just told you.

share|improve this answer
2  
In fact typically, sleeping is even more power efficient than shutting down and rebooting on a regular basis. –  Gerry Jan 3 '12 at 12:13
    
Exactly my point! –  Michiel Jan 3 '12 at 12:30
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.