PDA

View Full Version : Hibernate a mac?




.mark.
Jun 20, 2007, 05:07 AM
Hi, I got my first mac yesterday and was wondering if there is a feature similar to hibernating in windows in mac os x? I'm sure there will be - I just haven't stumbled across it!



MrSmith
Jun 20, 2007, 05:14 AM
Do you mean Apple menu > Sleep? Or burying it in the ground to retrieve next spring? :D

ipodrocker
Jun 20, 2007, 06:09 AM
surely you would only bury a Pc not mac, they live forever

.mark.
Jun 20, 2007, 06:42 AM
Do you mean Apple menu > Sleep? Or burying it in the ground to retrieve next spring? :D

sleep is not the equivelent to hibernate though as when "sleeping" the mac will still use power (although only a small amount to power the ram) whereas hibernating a windows machine saves the ram to disk and then powers down completely, allowing the machine to be turned back on and the user's session is preserved...

Brize
Jun 20, 2007, 06:55 AM
sleep is not the equivelent to hibernate though as when "sleeping" the mac will still use power (although only a small amount to power the ram) whereas hibernating a windows machine saves the ram to disk and then powers down completely, allowing the machine to be turned back on and the user's session is preserved...

Sleep is the equivalent of Windows' hibernate function. It may not work in exactly the same way, but it offers equivalent functionality.

Can I ask exactly what you're trying to achieve? OS X's Sleep function will preserve your session, so the only difference is that the Mac still draws power. Is this a problem?

Killyp
Jun 20, 2007, 06:58 AM
Sleep is the equivalent of Windows' hibernate function. It may not work in exactly the same way, but it offers equivalent functionality.

Can I ask exactly what you're trying to achieve? OS X's Sleep function will preserve your session, so the only difference is that the Mac still draws power. Is this a problem?

No, DeepSleep is the equivalent of Windowss hibernate.

Sleep is the equivalent of Windows' standby, or as it's now funnily enough called in Vista, Sleep.

DeepSleep is generally only achieved when you drain a notebook's battery right down to about 2% - I've only ever seen it once.

Osarkon
Jun 20, 2007, 07:01 AM
This (http://deepsleep.free.fr/) widget will give you the functionality you're looking for.

I tried it once and then didn't see the point when sleep is much more effective for me.

FireArse
Jun 20, 2007, 07:03 AM
You can put certain Macs into 'Safe Sleep' which is otherwise known as hibernating - but its only supported on SOME portables. Have a quick read, its detailed within the last paragraph:

Safe Sleep (http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh620.html)

F

fwhh
Jun 20, 2007, 07:06 AM
DeepSleep is (at least on macbooks) also activated, when a mac goes to sleep. (Even though it is not only in DeepSleep!) On Macbook(Pro)s you can remove the battery after going to sleep, and when the power is back, it loads the memory contents back from you harddrive... But I think you can't activate it seperatly...

Brize
Jun 20, 2007, 07:09 AM
No, DeepSleep is the equivalent of Windowss hibernate.

Sleep is the equivalent of Windows' standby, or as it's now funnily enough called in Vista, Sleep.

DeepSleep is generally only achieved when you drain a notebook's battery right down to about 2% - I've only ever seen it once.

My point being that Apple offer Sleep as an equivalent function to both Standby and Hibernate - they don't offer a user option that's directly comparable to Hibernate.

I guess the OP could try this 'Deep Sleep' widget:

http://www.apple.com/downloads/dashboard/status/deepsleep.html

semaja2
Jun 20, 2007, 09:36 AM
It is very easy to set the hibernate mode really all you do is in a terminal:

Normal
sudo pmset -a hibernatemode 3

Instant
sudo pmset -a hibernatemode 1


PS. Does not work on secure ram, also powerbook/ibook users must enter lots more, but theres programs to automate all this

matatk
May 3, 2009, 10:33 AM
Having proper hibernate support is great -- particularly for those that wish to switch quickly between OS X and Windows, for example, because the sleep mode wouldn't allow that.

This thread has been dormant for some time -- does anyone know if the DeepSleep widget works on the latest iMacs? Perhaps more importantly: does anyone know what happens when one tries the widget on a machine that's not supported? I should hope the worst is that the machine has to be rebooted again or similar.

ppc750fx
May 3, 2009, 11:00 AM
This thread has been dormant for some time -- does anyone know if the DeepSleep widget works on the latest iMacs? Perhaps more importantly: does anyone know what happens when one tries the widget on a machine that's not supported? I should hope the worst is that the machine has to be rebooted again or similar.

"Safe sleep" works the same way on all Intel machines.

matatk
May 3, 2009, 12:09 PM
Thanks for the quick reply. I tried the hibernate AppleScript app from http://blog.kaputtendorf.de/2007/08/17/hibernation-tool-for-mac-os/ as opposed to the DeepSleep widget (http://deepsleep.free.fr/), though for anyone interested I'd strongly recommend reading the docs for DeepSleep.

Unfortunately when I turned the machine back on I was not able to hold down the option key and get the list of OSes to choose from -- I was hoping I could use this as a more convenient way to switch to Windows (and, importantly, back).

Perhaps by editing the hibernate script it might be possible to instruct the machine to come back up in Windows when the power comes on (a la the "Startup Disk" settings panel) but this is a bit out of the scope of my AppleScript (or Mac) knowledge. I wonder if anyone else knows how or has managed to do this in the past...

It's certainly good to know the machine is totally off, though. It only takes a few seconds to come back so I'm very happy with this anyway.

misterredman
May 5, 2009, 08:15 AM
Not sure if this can help you, but here is pref panel that let you select the sleep mode easily.
It also adds a smart function that changes the sleep mode from "sleep only" (faster sleep, like used by older macs) to "safe sleep" (which is slower but safer) depending on the remaining charge of the battery.

http://www.jinx.de/SmartSleep.html

matatk
May 14, 2009, 08:36 AM
Thanks for the information, but I was really hoping for a method to hibernate Mac OS X and then allow me to chose on start-up which OS to run. I do use and find valuable the ability to hibernate the machine but being able to switch between Mac OS X and Windows without having to log out and lose my session would have rocked.

LasseBob
Jun 19, 2009, 02:15 AM
Hi

It seems this discussion is missing an important issue:
Hibernation allows you to put your laptop in a bag and transport it, I would really dislike to put a laptop in sleep mode in a bag, since the cpu and memory would still be powered on.

It seems stupid that I need third party applications to enable hibarnation for a mac. As if Apple has only considered people moving the Macbook Pros around the office...

(I recently purchased a Macbook Pro and is very content with it, but really don't understand the decision to disable hibernation).

Regards,
Lasse

coolbits
Jun 19, 2009, 03:13 AM
CPU and disk are turned off in sleep. Only memory uses a very small amount of energy to keep your data.
Hibernating takes a lot of time with 2Gb+ of ram and its only useful if you dont use your computer for a few days and even then you can just shut down.
If your computer is in sleep mode and you leave it for few days like this, then it goes to safe sleep (hibernate) before it drains your battery.

LasseBob
Jun 19, 2009, 03:34 AM
According to Apple, the CPU goes into low power mode.
But the point is, I don't want any power on a laptop thats shoved down a bag and put into the hot trunk of my car. Thats why hibernation is great, I can hibernate it, transport it and power it up at home and resume work directly. I can't do this with just sleep...
Sleep is great for preserving power while standing on my desk, but not for allowing me to use my laptop as a portable computer.

coolbits
Jun 19, 2009, 03:42 AM
Sleep is just for that!
Why dont just shut down then its way faster then hibernate and resume. I can reboot twice before you hibernate with 2Gb+ of ram.
In sleep there is no heat produced or something :) I always just close the lid and carry it in my bag... no problems ever.

LasseBob
Jun 19, 2009, 03:53 AM
Well, i don't use hibernation for speed, but since it allows me to stop working without saving a list of open programs and webpages (i work quite unstructured), and resume later.
But if is considered "safe" to transport a sleeping Macbook, this option is of course much better.

Regards,
Lasse

coolbits
Jun 19, 2009, 04:33 AM
Not only it is considered safe but it is built for properly sleep and with this in mind for carrying arrond.
This is not windows where sleep rarely works :)

thing
Jun 26, 2009, 05:56 PM
Not only it is considered safe but it is built for properly sleep and with this in mind for carrying arrond.
This is not windows where sleep rarely works :)

Linux is where sleep rarely works :)

I've been using WinXP for years and I always put it into hibernate mode instead of shutting down - this is the way I work.

Now I'm on my 2nd day with a MacBook Pro and I really don't understand why there is no hibernate mode?! I don't want to put my CPU in low energy mode, I want it in no-energy mode.

The two things that I'll probably *never* get used to in a Mac are:
1. Lack of keyboard shortcut for context menu (Shift-F10 in WinXP)
2. Missing hibernate feature

misterredman
Jun 26, 2009, 06:39 PM
Linux is where sleep rarely works :)

I've been using WinXP for years and I always put it into hibernate mode instead of shutting down - this is the way I work.

Now I'm on my 2nd day with a MacBook Pro and I really don't understand why there is no hibernate mode?! I don't want to put my CPU in low energy mode, I want it in no-energy mode.

The two things that I'll probably *never* get used to in a Mac are:
1. Lack of keyboard shortcut for context menu (Shift-F10 in WinXP)
2. Missing hibernate feature

Check the posts above. There are many utilities that let you decide which mode to use for sleep, like Smartsleep or Deep Sleeep.

ppc750fx
Jul 1, 2009, 03:18 PM
Linux is where sleep rarely works :)

That used to be true c. 2004 or so... but nowadays ACPI support for sleep is pretty damn good. I've found modern Linux kernels to support sleep every bit as well as Windows; some machines can sleep under Windows but not Linux, others the reverse.

(And yes, I get you were joking. :D)

axonic labs
Jul 29, 2009, 12:07 PM
I made a free widget that hibernates your Mac as well. You can get it at http://www.axoniclabs.com/DeepSleep/

Wondersnite
Jan 18, 2010, 09:41 AM
I made a free widget that hibernates your Mac as well. You can get it at http://www.axoniclabs.com/DeepSleep/

Thanks, this one has the advantage of actually working on Snow Leopard :)

ontheoutside28
Oct 3, 2010, 10:19 PM
I use my macbook pro while I am at school and go through course websites while in class wether for lecture or lab, and being able to hibernate my macbook pro after using the web pages so it uses NO power whatsoever is the best thing for me as I can hibernate after class and then go home and look at the same web pages i left open when at school. That is the easiest thing for me and I love how easy it is to do with HIBERNATE. The sleep function does not use little or even moderate power as my computer in sleep overnight would be drained severely to less than 30% batter when I got up about 8 - 10 hours later. That to me was so disappointing as even driving home in rush hour traffic from classes my battery would be less than 60% in sleep mode for some odd reason. My computer is still very new and barely even been used since I got it back in summer of 09' but WT* is wrong with the battery life on these computers??? Even my friend who just bought a brand new macbook pro doesn't get 8-9 hrs of battery on his totally new, less than one month old MBP. If he is lucky he gets about the same as I do, which is about 6 to maybe 7 hours if he is doing light office work on his computer as he uses it for medical reports and lots of typing and note taking but only uses the text app and that is it. I consider my year old computer pretty impressive if we both get the same amount of battery, but we can't do more than 1 or 2 things at the same time on battery or it does run down quickly. Hope this helps to clarify for anyone who does not understand why we former windows users want a hibernation function on mac computers. I think it is better than regular sleep, but just my opinion and we all know what they say.

munkery
Oct 3, 2010, 11:04 PM
Intel Macs have three possible sleep modes:

Sleep only = state saved to ram. Not safe for transporting.

Safe sleep (default) = state saved to ram and hard disk. Power is consumed unless battery removed or drained then uses hard disk to restore state instead of ram. Not safe for transporting if has power supply.

Hibernate = state saved to hard disk only. No power consumed. Safe for transporting.

Sleep only and hibernate can be set in terminal or as stated previously via SmartSleep (http://www.jinx.de/SmartSleep.html) . I would recommend turning on "secure virtual memory" in the security tab in system preferences as potential security risks may be created under some circumstances when the state is written to hard disk.

flyfish29
Oct 3, 2010, 11:19 PM
I simply close my MBP, it goes to sleep, and I transport as needed. Occasioinally I get crazy and actually select the sleep menu item under the :apple: menu. On a very rare occasion do I tap the power button and select sleep.

I have never had a problem using any of these methods and transporting the computer around the house, office, school or world! I do make sure the light goes out completely and wait another second or two before moving it though to be sure everything has stopped spinning etc.

So for me the regular old sleep method of closing the portable computer makes it in fact portable.

So whats the big deal?:confused:

munkery
Oct 3, 2010, 11:23 PM
The default sleep state can be risky for transport as the Mac can wake to perform scheduled maintenance tasks. During maintenance the read arm of the hard disk is no longer locked and if shaken can touch the hard disk causing read errors potentially corrupting the disk. Mac portables do have technologies that protect the hard disks from motion but they are not 100% effective.

flyfish29
Oct 4, 2010, 12:04 AM
The default sleep state can be risky for transport as the Mac can wake to perform scheduled maintenance tasks. During maintenance the read arm of the hard disk is no longer locked and if shaken can touch the hard disk causing read errors potentially corrupting the disk. Mac portables do have technologies that protect the hard disks from motion but they are not 100% effective.

Apparently Apple disagrees as they do not state anything about the dangers of moving a portable computer in sleep mode? If this is true please provide apple.com documentation stating so.

Direct from the MacBook Pro users guide:

Putting Your MacBook Pro to Sleep or Shutting It Down
When you finish working with your MacBook Pro, you can put it to sleep
or shut it down.
Putting Your MacBook Pro to Sleep
If you’ll be away from your MacBook Pro for only a short time, put it to
sleep. When the computer is in sleep, you can quickly wake it and bypass
the startup process.
To put your MacBook Pro to sleep, do one of the following:
Close the display. Choose Apple () > Sleep from the menu bar. Press the power (®) button and click Sleep in the dialog that appears. Choose Apple () > System Preferences, click Energy Saver, and set a sleep timer.


NOTICE: Wait a few seconds until the sleep indicator light starts pulsing (indicating that the computer is in sleep and the hard disk has stopped spinning) before moving your MacBook Pro. Moving your computer while the disk is spinning can damage the hard disk, causing loss of data or the inability to start up from the hard disk.

To wake your MacBook Pro:
 If the display is closed, simply open it to wake up your MacBook Pro.  If the display is already open, press the power (®) button or any key on the keyboard.

When your MacBook Pro wakes from sleep, your applications, documents, and computer settings are exactly as you left them.

munkery
Oct 4, 2010, 12:11 AM
Thank you for that info.

I read somewhere that is was possible for third party apps that you have scheduled to perform tasks to wake your machine from sleep to run the task. That info could be wrong and I am in error presenting it on this forum but I prefer to be cautious given the consequences.

I just searched the threads for info concerning this and apparently there is a risk that a sleeping Mac will wake itself to run it's fans if it is put away hot in an environment such as a padded computer case or backpack.

Also, if you do not want to your Mac to consume power while sleeping, you have to manually set it to hibernate.

kuwisdelu
Oct 4, 2010, 01:36 AM
....huh?

I leave my 2007 MacBook in sleep all day in between classes and on my way home, and even during cross-country flights and multi-hour drives, and rarely ever see it lose more than a few percent battery, if that.

declandio
Oct 4, 2010, 08:19 AM
....huh?

I leave my 2007 MacBook in sleep all day in between classes and on my way home, and even during cross-country flights and multi-hour drives, and rarely ever see it lose more than a few percent battery, if that.

My experience is that the newer unibody's lose a lot more power when sleeping than the older ones. I still have 2x non-unibody mbp's and they will sleep all day and only lose a few % of batter power. My unibody seems to lose up to 10% per hour when sleeping. The deep sleep widget is well worth having.

GGJstudios
Oct 4, 2010, 09:03 AM
Intel Macs have three possible sleep modes:
Provide links to Apple's site that support this statement. You can't, because it's not true.
The default sleep state can be risky for transport as the Mac can wake to perform scheduled maintenance tasks.
Again, not true. Mac OS X has Wake On Demand (http://support.apple.com/kb/HT3774), but that doesn't apply to a sleeping Mac portable being transported.
That info could be wrong and I am in error presenting it on this forum but I prefer to be cautious given the consequences.
While I understand your desire to be cautious, posting things like this only serves to mislead and confuse forum readers who want actual facts.
I just searched the threads for info concerning this and apparently there is a risk that a sleeping Mac will wake itself to run it's fans if it is put away hot in an environment such as a padded computer case or backpack.
If the fans are running higher than normal at the time you close the lid, your Mac will not sleep until the fans have cooled it to a level safe for storage or transporting. If you wait until it sleeps (and the sleep light is pulsing), the fans will not spin up again after it sleeps.
Also, if you do not want to your Mac to consume power while sleeping, you have to manually set it to hibernate.
Again, Mac portables do not have a hibernate setting. They consume approximately 1% of battery power per hour of sleep.

munkery
Oct 4, 2010, 02:00 PM
I do believe that I stated I could be wrong about the waking from sleep stuff?

Sorry? What does it really matter.

Umm...If you can use Terminal to set those alternative sleep states then they do exist. If you read through the thread you would have seen the post that defined those Terminal commands.

The documentation that comes in SmartSleep (http://www.jinx.de/SmartSleep.html) defines these modes, allows you to set them easily, and enables you to hybridize them. Again, if a preference pane AND terminal allow you to set them then they do exist.

BTW, here is Apple's documentation about the importance of secure virtual memory (http://docs.info.apple.com/article.html?path=Mac/10.5/en/11852.html)

res1233
Oct 4, 2010, 05:18 PM
Provide links to Apple's site that support this statement. You can't, because it's not true.

Again, not true. Mac OS X has Wake On Demand (http://support.apple.com/kb/HT3774), but that doesn't apply to a sleeping Mac portable being transported.

While I understand your desire to be cautious, posting things like this only serves to mislead and confuse forum readers who want actual facts.

If the fans are running higher than normal at the time you close the lid, your Mac will not sleep until the fans have cooled it to a level safe for storage or transporting. If you wait until it sleeps (and the sleep light is pulsing), the fans will not spin up again after it sleeps.

Again, Mac portables do not have a hibernate setting. They consume approximately 1% of battery power per hour of sleep.

First of all:

0 - Old style sleep mode, with RAM powered on while sleeping, safe sleep disabled, and super-fast wake.
1 - Hibernation mode, with RAM contents written to disk, system totally shut down while “sleeping,” and slower wake up, due to reading the contents of RAM off the hard drive.
3 - The default mode on machines introduced since about fall 2005. RAM is powered on while sleeping, but RAM contents are also written to disk before sleeping. In the event of total power loss, the system enters hibernation mode automatically.

Those are the three sleep modes, they work with pmset, although this doesn't count 5 or 7 because they're the same as 1 and 3 but are only valid if you're using secure virtual memory. You don't need documentation. Like i said, it works with pmset, the built-in command line utility, therefore the 3 modes are valid. So he was right.

On the second point you're right. Macs will immediately do any scheduled maintenance if the time for it to do them passed while it was asleep, when it wakes up. Had to do some digging, but this is where I read it here (http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPSystemStartup/Articles/Daemons.html%23//apple_ref/doc/uid/TP40001761-SW1). Scroll down to "Timed jobs using launchd":

If the computer is asleep at the designated time, a launchd job executes as soon as the computer wakes. This is similar to the behavior of anacron and other cron replacements).

So no, the mac wont wake for tasks scheduled using launchd. Can't guarantee that's how every app is programmed though, some may be poorly programmed, and wake the computer up, although I've never seen it.

On your third point, i agree too, people shouldn't be posting things without any evidence of their info, could say the same about you. :p

Your fourth point makes no sense. Computers cool down far faster in sleep mode than with a fan. In my experience at least, my mac has gotten pretty hot, but it always goes to sleep fine. (When I say hot, I mean extremely hot, like 100% CPU AND GPU usage for hours non-stop. I run BOINC (http://boinc.berkeley.edu/). It really takes a toll on my computer, but it's for a good cause :) and I happen to have a laptop that I use far less than my desktop.) What you may be referring to is how it takes a few seconds to go to sleep. What that is, is actually the mac using its sleep/hibernate functionality. It's saving the RAM to disk, in other words.

Your fifth point is wrong. Like i said, pmset lets you set it to hibernate instead of sleep or the sleep/hibernate combo, so yes, it does have a hibernate mode, and it works just like you'd expect. Although the default sleep/hibernate combo, as shown above, is in my view superior to the others. If my mac loses power for whatever reason, it will always have a safe copy of what i was doing stored on the hard drive, and if it doesn't lose power, it provides a nice low-power way to store your computer for transport.

flyfish29
Oct 4, 2010, 08:04 PM
I do believe that I stated I could be wrong about the waking from sleep stuff?

Sorry? What does it really matter.

People use these threads to discuss issues and gain knowledge about their multi-thousand dollar machines. If you think something you type could be wrong or not accurate, then either please state so up front, research it to find proof, or else don't type it.

You also stated you "searched threads" to find some of the answers....well, just cause you read it on the internet doesn't mean it's true does it? Just refer to this thread to prove that. :rolleyes:

munkery
Oct 4, 2010, 08:42 PM
People use these threads to discuss issues and gain knowledge about their multi-thousand dollar machines.

Scenario A vs. Scenario B

Scenario A = I am right and users can damage their hard disks while transporting a sleeping Mac.

Scenario B = I am wrong and user unnecessarily turn off or hibernate their Mac during transport. So, no harm done.

Sorry, but why does what I said really matter?

No harm could come from Scenario B. The only downside is they lose a few more seconds of their life waiting for their computer to start up. OMG that's terrible.

BTW, Can't guarantee that's how every app is programmed though, some may be poorly programmed, and wake the computer up, although I've never seen it.

GGJstudios
Oct 4, 2010, 08:46 PM
Scenario A vs. Scenario B

Scenario A = I am right and users can damage their hard disks while transporting a sleeping Mac.

Scenario B = I am wrong and user unnecessarily turn off or hibernate their Mac during transport. So, no harm done.

Sorry, but why does what I said really matter. No harm could come from Scenario B. The only downside is they lose a few more seconds of their life waiting for their computer to start up. OMG that's terrible.

The harm comes from misinforming people, encouraging them to go through unnecessary steps, just because your opinion is that it's safer. There is nothing unsafe about transporting a sleeping Mac portable. In fact, you can't damage your hard drive by moving your Mac even when it's awake, because of the sudden motion sensors.

munkery
Oct 4, 2010, 08:51 PM
The harm comes from misinforming people, encouraging them to go through unnecessary steps, just because your opinion is that it's safer. There is nothing unsafe about transporting a sleeping Mac portable. In fact, you can't damage your hard drive by moving your Mac even when it's awake, because of the sudden motion sensors.

Really? Make a YouTube video of you shaking your Mac as hard as you can while it is awake. Even better, mount it in a paint shaker and leave it there for two minutes.

Post the link to the video, then I will believe you.

GGJstudios
Oct 4, 2010, 08:55 PM
Really? Make a YouTube video of you shaking your Mac as hard as you can while it is awake. Even better, mount it in a paint shaker and leave it there for two minutes.

Post the link to the video, then I will believe you.

Apple Portables: About the Sudden Motion Sensor (http://support.apple.com/kb/HT1935)
Sudden Motion Sensor technology is built-in protection for the hard disk that is designed to help prevent disk issues if the computer is dropped or undergoes severe vibration.

The Sudden Motion Sensor is designed to detect unusually strong vibrations, sudden changes in position or accelerated movement. If the computer is dropped, the Sudden Motion Sensor instantly parks the hard drive heads to help reduce the risk of damage to the hard drive on impact. When the Sudden Motion Sensor senses that the Apple portable's position is once again stable, it unlocks the hard drive heads, and you are up and running within seconds.

munkery
Oct 4, 2010, 09:08 PM
Sudden Motion Sensor technology is built-in protection for the hard disk that is designed to HELP PREVENT disk issues if the computer is dropped or undergoes severe vibration.

Help prevent does NOT equal 100%.

GGJstudios
Oct 4, 2010, 09:11 PM
Sudden Motion Sensor technology is built-in protection for the hard disk that is designed to HELP PREVENT disk issues if the computer is dropped or undergoes severe vibration.
The point is, transporting a Mac portable, asleep or awake, is NOT going to damage the hard drive. That's transporting.... not throwing across a parking lot, strapping to a jackhammer, mounting on a paint shaker, etc. :rolleyes:
Help prevent does not equal 100%.
Nothing is 100% guaranteed.

munkery
Oct 4, 2010, 09:14 PM
The point is, transporting a Mac portable, asleep or awake, is NOT going to damage the hard drive. That's transporting.... not throwing across a parking lot, strapping to a jackhammer, mounting on a paint shaker, etc. :rolleyes:

You've obviously have never been on a plane during bad turbulence or on a ferry during rough water.

These situation are why people are switching to solid state drives.

Nothing is 100% guaranteed.

That is exactly the point I am trying to make.

GGJstudios
Oct 4, 2010, 09:16 PM
You've obviously have never been on a plane during bad turbulence or on a ferry during rough water.

These situation are why people are switching to solid state drives.

You don't know what flights or ferries I've been on, or in what conditions. Look, if you want to shut down your Mac before transporting it, that's your call. Just don't try to deceive people in this forum into thinking that it's unsafe to transport a sleeping Mac. I've also transported sleeping Macs on my Harley for thousands of miles with zero issues.

munkery
Oct 4, 2010, 09:23 PM
You don't know what flights or ferries I've been on, or in what conditions. Look, if you want to shut down your Mac before transporting it, that's your call. Just don't try to deceive people in this forum into thinking that it's unsafe to transport a sleeping Mac. I've also transported sleeping Macs on my Harley for thousands of miles with zero issues.

I take it you don't ride a Softail with an Evo motor (TwinCamB with counter balancer don't count) nor an old shovelhead FX or FLH. I love those old shovelheads but you really need an FLT/FLHT prior to 1984 to avoid the vibes unless you love the classic Harley feel.

spinnerlys
Oct 4, 2010, 09:28 PM
Interludium.

Once my merry little white MacBook, the MMIIX edition, was awoken due to unknown circumstances while it was hitchhiking in my backpack. That was on a very long walk home, it was a bumpy one, as I have legs that would make the Ministry of Silly Walks proud, as they allow me to walk a bit to the left side unless I steer against this quite comfy spin.
Anyway, my little white MacBook, the MMIIX edition, was awake during the entire walk and I was flabbergasted upon my arrival at home, which was quite a stairway to heaven, to find it spinning its tiny black fan. I understood why it spun its tiny black fan, as there was not much circulating air available to properly cool my little white MacBook, the MMIIX edition, down to comfortable temperatures, as you might know, those little white MacBooks don't really like that much heat. Anyway, my little white MacBook, the MMIIX edition, was awake and against all the odds I presented my little white MacBook, the MMIIX edition, the Hard Disk Drive was whirring and purring like that little cat with three legs from Hobart. Until now, or better today, as I currently have that little white MacBook, the MMIIX edition, under my fingers to write this little tale, which should be accompanied Brandenburg Concertos Nr. 4 (Johann Sebastian Bach) to fully grasp its absurdity and non-conformity in telling, and even whatever you don't call it, the Hard Disk Drive, or better known as HDD, is still purring that three legged cat without any smart failures or any other kind.

I'm off to off it now.

Or listening to Isabelle Moretti blowing some mouth organ.

GGJstudios
Oct 4, 2010, 09:28 PM
I take it you don't ride a Softail with an Evo motor nor an old shovelhead FX or FLH. I love those old shovelheads but you really need an FLT/FLHT prior to 1984 to avoid the vibes unless you like them.
You're being deliberately obtuse and now going off-topic, but yes, I ride a Softail and have ridden many Harley models over several decades. Which model is irrelevant, since the vibration of bumps on the road is much harsher than the engine vibration. The point is, it's quite safe to transport a Mac notebook in sleep mode. Period.

res1233
Oct 4, 2010, 11:58 PM
I take back one thing I said, there is ONE app i know of that will wake my mac from sleep to give me an alert, and that one app happens to be an alarm clock app. Yes, one of the things i use my mac for is a very expensive alarm clock. lol. Anyway, that's the only app that i know of that does that. Most devs aren't stupid enough to include the feature that lets an app wake a mac from sleep unless they absolutely need it, but as some of us here probably know, not every dev is a genius.

arkmannj
Dec 13, 2010, 06:28 PM
Hello,

I came across this thread and was wondering if anyone knows if the following is possible.

My wife's new MBP will run itself out of power to the point of losing power before it could enter hibernation/safe sleep. Which means if her machine is low on power, she walks away for a while and it runs out of power she looses everything.

Is there a way to set it so that at X% (I'm thinking 3%) it forces the machine to enter hibernation? or otherwise adjust the setting?

Thanks!
~Ark

simsaladimbamba
Dec 13, 2010, 06:38 PM
Hello,...

Is there a way to set it so that at X% (I'm thinking 3%) it forces the machine to enter hibernation? or otherwise adjust the setting?

Thanks!
~Ark



http://www.jinx.de/SmartSleep.html

Is there no power outlet where your wife works?

QuarterSwede
Dec 13, 2010, 06:48 PM
Hello,

I came across this thread and was wondering if anyone knows if the following is possible.

My wife's new MBP will run itself out of power to the point of losing power before it could enter hibernation/safe sleep. Which means if her machine is low on power, she walks away for a while and it runs out of power she looses everything.

Is there a way to set it so that at X% (I'm thinking 3%) it forces the machine to enter hibernation? or otherwise adjust the setting?

Thanks!
~Ark
I get the same thing on my MacBook. It's set to hibernate before shutting down when on extremely low power but it never does. It just shuts off on me instead.

arkmannj
Dec 13, 2010, 07:10 PM
http://www.jinx.de/SmartSleep.html

Is there no power outlet where your wife works?

Thank you for the link, I'll need to check out that little pref app-thing-a-ma-jig :)


There are plugs, but she moves around a lot and doesn't always know how long she will be in locations, so moving her power supply around all the time is something she often ether just forgets or doesn't want to bother with if she's thinks she's only going to be in the next location a few minutes, and it turns into longer than that. I agree plugging in would be the best option, but really would just be nice if the Safe Sleep caught on more often as it should.

I'll give this little app a try, thanks again

svenr
May 2, 2011, 06:27 PM
I tried the various scripts and apps in this thread, but they don't work for me. I have a PowerMac G5 Quad, MacOSX 10.5.8. If anyone knows a solution for G5 Macs, please let me know.

Why do I want this? I usually work in several apps at the same time, have many documents and pages open and shutting down everything and reopening/recreating/rearranging everything the next morning manually is too cumbersome. I want to pick up right where I left off.

What about sleep? I measured my computer with a Kill-A-Watt (http://www.amazon.com/gp/product/B00009MDBU/ref=as_li_ss_tl?ie=UTF8&tag=s6-20&linkCode=as2&camp=217145&creativeASIN=B00009MDBU) and in sleep mode, the G5 still draws 18 W of power. With an external FW drive, which is usually connected (Time Machine), that number climbs to 30 W, even though the FW HD has its own, separately measured power supply. So much for those guys above who say sleep mode draws "very little" power. Maybe in laptops, certainly not in desktops.

tresean1
Mar 12, 2012, 04:11 PM
Hi

It seems this discussion is missing an important issue:
Hibernation allows you to put your laptop in a bag and transport it, I would really dislike to put a laptop in sleep mode in a bag, since the cpu and memory would still be powered on.

It seems stupid that I need third party applications to enable hibarnation for a mac. As if Apple has only considered people moving the Macbook Pros around the office...

(I recently purchased a Macbook Pro and is very content with it, but really don't understand the decision to disable hibernation).

Regards,
Lasse

I don't want any power on a laptop thats shoved down a bag and put into the hot trunk of my car. Thats why hibernation is great, I can hibernate it, transport it and power it up at home and resume work directly.

Well, i don't use hibernation for speed, but since it allows me to stop working without saving a list of open programs and webpages (i work quite unstructured), and resume later.

I've been using WinXP for years and I always put it into hibernate mode instead of shutting down - this is the way I work.

Now I'm on my 2nd day with a MacBook Pro and I really don't understand why there is no hibernate mode?! I don't want to put my CPU in low energy mode, I want it in no-energy mode.

I totally agree, sure the self-proclaimed "leader of computer technology" (Apple) has to have implemented a way to hibernate your Macbook without using 3-rd party software? Why can't it just be as simple as Windows. Sure some of you may not agree or understand why we need/want the Hibernate function, but that's what WORKS for us....period.

balamw
Mar 12, 2012, 04:22 PM
Why can't it just be as simple as Windows.

Because it isn't Windows? Why try to force something to be something else rather than learn how to use what you've got. (goes in both directions, I use both OSes and have likes and dislikes in both.).

This has already been answered in this thread as well as in the thread you started (http://forums.macrumors.com/showthread.php?t=1338975).

Use one of the many third party utilities if it is important enough to you to force your Mac to hibernate under OS X. Otherwise please let it be.

EDIT: With Lion's Resume (http://www.apple.com/macosx/whats-new/) features, shutting your Mac off is practically equivalent to hibernate.

B

tresean1
Mar 12, 2012, 04:29 PM
Why try to force something to be something else rather than learn how to use what you've got.

Otherwise please let it be.


You know, this thread was created for users to find an answer, not for people like you to chime in at every chance you get to begrudge us for trying. With all due respect---Moderator---I think you missed a very important part of my post...

Sure some of you may not agree or understand why we need/want the Hibernate function, but that's what WORKS for us....period.

And, btw, I do not use Lion, I have 10.6.8...and don't plan on upgrading for a while, until I fully figure out Snow Leopard.

balamw
Mar 12, 2012, 04:33 PM
I think you missed a very important part of my post...



And, btw, I do not use Lion, I have 10.6.8...and don't plan on upgrading for a while, until I fully figure out Snow Leopard.

Read the thread then. The answers are here as well as in the thread you started. You seem to not be reading anything that is in these threads.

Without third party intervention:

It is very easy to set the hibernate mode really all you do is in a terminal:

Normal
sudo pmset -a hibernatemode 3

Instant
sudo pmset -a hibernatemode 1


PS. Does not work on secure ram, also powerbook/ibook users must enter lots more, but theres programs to automate all this

With a third party tool:

Pick one of the several ones mentioned here or that can be found by means of Google, Bing or other search engines.

EDIT: This is no more complicated that setting different power management settings in the BIOS of a typical PC.

EDIT:

This is from the Lion 10.7.3 pmset man page. Yours may be different.

SAFE SLEEP ARGUMENTS
hibernatemode takes a bitfield argument defining SafeSleep behavior.
Passing 0 disables SafeSleep altogether, forcing the computer into a reg-
ular sleep.

0000 0001 (bit 0) enables hibernation; causes OS X to write memory state
to hibernation image at sleep time. On wake (without bit 1 set) OS X will
resume from the hibernation image. Bit 0 set (without bit 1 set) causes
OS X to write memory state and immediately hibernate at sleep time.

0000 0010 (bit 1), in conjunction with bit 0, causes OS X to maintain
system state in memory and leave system power on until battery level
drops below a near empty threshold (This enables quicker wakeup from mem-
ory while battery power is available). Upon nearly emptying the battery,
OS X shuts off all system power and hibernates; on wake the system will
resume from hibernation image, not from memory.

0000 1000 (bit 3) encourages the dynamic pager to page out inactive pages
prior to hibernation, for a smaller memory footprint.

0001 0000 (bit 4) encourages the dynamic pager to page out more aggres-
sively prior to hibernation, for a smaller memory footprint.

We do not recommend modifying hibernation settings. Any changes you make
are not supported. If you choose to do so anyway, we recommend using one
of these three settings. For your sake and mine, please don't use any-
thing other 0, 3, or 25.

hibernatemode = 0 (binary 0000) by default on supported desktops. The
system will not back memory up to persistent storage. The system must
wake from the contents of memory; the system will lose context on power
loss. This is, historically, plain old sleep.

hibernatemode = 3 (binary 0011) by default on supported portables. The
system will store a copy of memory to persistent storage (the disk), and
will power memory during sleep. The system will wake from memory, unless
a power loss forces it to restore from disk image.

hibernatemode = 25 (binary 0001 1001) is only settable via pmset. The
system will store a copy of memory to persistent storage (the disk), and
will remove power to memory. The system will restore from disk image. If
you want "hibernation" - slower sleeps, slower wakes, and better battery
life, you should use this setting.

Please note that hibernatefile may only point to a file located on the
root volume.


EDIT: Since you are on Snow Leopard, you can probably use http://www.jinx.de/SmartSleep.html from his site or the MAS if you want/need to avoid Terminal.

B

flyfish29
Mar 12, 2012, 09:16 PM
I have carried a portable Mac for 6 years (five different machines) all in sleep mode and never had an issue. I see no need to put a machine in a hibernate mode. I also don't toss my portable computer bag around either.;)