yea thats a solution, but i meant this scenario

you put your macbook to sleep...it runs out of batteries when asleep...mac os x has saved all RAM to the HD and in the event that the battery runs out it can still awaken itself in the exact state where it was left. It doesn't actually consume any battery when in hibernation.

i need to be able to trick a desktop into going into hybernation.