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 know that when you put your Mac laptop to sleep and the battery dies, next time you plug it in it will wake up from the state it was prior to being put to sleep. There are also hacks to get this behavior with a desktop Mac (except it triggers when you put the Mac to sleep and unplug it).

Is there a way to trigger this behavior without cutting power, and that will still let me put my Mac to sleep normally? Like Windows 7's Hibernate option.

share|improve this question
2  
Damn. I thought I could use this to switch between OS X and Windows efficiently, but the boot loader won't let you boot on anything else than Mac OS if it's been put in hibernation. –  zneak Aug 23 '10 at 1:21
1  
I think for you it's better to use parallels Desktop. it's really good software and make you able to boot your install windows on your mac. –  Am1rr3zA Aug 23 '10 at 1:43
1  
@Am1rr3zA: it's totally playable under OS X for sure. However, with my current-gen MacBook Pro under Windows I can put the game in 1680x1050 with graphics somewhere above medium and still get a smooth 60+ frames per second, and it never drops below that. Under Mac OS, with the same settings, things aren't smooth. So it's good for you if you like Starcraft II under Mac OS, but until Apple or NVidia or whoever's responsible does some serious efforts at making the graphics drivers better, I'll play it under Windows because there is a very noticeable difference. –  zneak Aug 23 '10 at 7:23
1  
The reason the bootloader will not let you boot into something else when there is a hibernate image is that the hibernated version of the kernel may have references to blocks on the disk, and if you boot into another OS it wouldn't know that, which means it could modify the disk. When the hibernated OS was thawed it would then potentially write out its dirty buffers to the disk on top of blocks that had already been modified, leading to disk corruption. Fundamentally, it is never safe to thaw a hibernation if there is a chance the filesystem it is rooted off has been modified. –  Louis Gerbarg Aug 24 '10 at 8:09
1  
@Louis Gerbarg: I didn't think about that (probably because Windows can't write to Mac OS files), but that seems like a good reason. –  zneak Aug 24 '10 at 17:31
show 8 more comments

3 Answers

up vote 3 down vote accepted

yes of course you can I Myself use Deep Sleep widget (second link) to put my macbook-pro into hibernations.

and if you prefer command line(terminal) read this article.

alt text

share|improve this answer
add comment

You could use DeepSleep.

I know this is a widget, but if you want an application, do the following :

  1. Download the widget and uncompress the zip file containing it, but do not install it.
  2. Right-click on the widget, the select Show Package Contents.

    right click

  3. Copy the DeepSleep Application where you want.

    alt text

share|improve this answer
add comment

There is a pref pane called smart sleep that is pretty good

share|improve this answer
1  
This link is dead. –  nohat May 20 '12 at 17:05
    
jinx.de/SmartSleep.html –  lensovet Sep 7 '12 at 2:01
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.