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.