Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
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.
 
Set Sleep setting

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
 
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.
 
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
 
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 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.
 
Last edited:
As an Amazon Associate, MacRumors earns a commission from qualifying purchases made through links in this post.
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.
 
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.

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 features, shutting your Mac off is practically equivalent to hibernate.

B
 
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.
 
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
 
Last edited:
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.;)
 
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.;)

It can be a security issue for people like me who use PGP Whole Disk Encryption. Power trickling to the RAM can possibly preserve keys, which can be used to access the system. Hibernation should cut power to the machine's components and the RAM will be wiped. For this reason, I turn my machine off completely when I leave the office or carry it with me. So, there is a purpose, but turning the machine off works just as well.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.