Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TheShortTimer

macrumors 68040
Original poster
Mar 27, 2017
3,339
5,799
London, UK
For the life of me, I'm unable to work out what's going on here. My iBook is the only Apple laptop that I own which fails to suspend to disk when the battery expires. Instead, the machine switches off with the entire session lost. I've gone into the energy settings for battery operation and every seems to be fine.

AmizXIU.png


Can anyone shed some light on this please?
 
I'm guessing because it's an old battery and doesn't behave like a healthy, calibrated one? I've had similar problems where the battery might issue a 5 or 10 minute warning but then dies immediately.
 
I think you're right.

My next question was whether the iBook could be forced to automatically suspend to disk but Google is our friend and a search came across this:

Safe Sleep and Standby Arguments

According to the Apple Documentation, safe sleep has three arguments:


  • hibernatemode=0 by default is supported on desktops. The system will not back memory up to persistent storage. The system must wake from the contents of the memory (RAM). The system will lose context on power loss. Historically, this is plain old sleep.
  • hibernatemode=3 by default is supported on portables or laptops. 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 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.
Could options 3 and 25 work on PPC and Tiger?
 
Thanks eyoungren but that's more orientated towards disabling hibernation.
Yes, but you'd need to know the same information in order to re-enable it. It explains in the link to the blog (if you go there) the different modes. You'd just use the same command with the appropriate mode to set the iBook to have the correct mode.

I am assuming that it's incorrect as the explanation for your problem.
 
  • Like
Reactions: TheShortTimer
I understand now. :)

When I type the following into Terminal...

Code:
pmset -g | grep hibernatemode

...there's no response. It does not return any information, instead Terminal just goes to the next line.

Does this mean that it's not even set up on the computer in the first place?
 
UP !

Old thread, but I'm also looking for a true "suspend to disk"/hibernate solution for OS X Tiger and Leopard, and therefore didn't think it'd be useful to create a new one.

I've looked into the article posted above and others in this forum and elsewhere (Apple support etc), but they all (for those who don't try to tell me I don't need hibernation) refer to post-2005/6 Intel based laptops (while mine is PPC based from 2004) and in particular their "Deep sleep" feature...

Like for the poster above the instruction pmset -g | grep hibernatemode returns nothing. I've tried to set hibernation mode to 3 but while there's no error message it doesn't do anything, the "hibernation" parameter is still non-existent.

Just in case, here's what pmset -g returns on my machine : (config in my signature)

Active Profiles:

Battery Power 1
AC Power -1*
Currently in use:
sleep 10
disksleep 180
acwake 0
displaysleep 10
autorestart 0
dps 0
reduce 1
ring 1
halfdim 1
lidwake 1
ttyskeepawake 1
womp 1

So, has anyone here solved this at all ? TIA.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.