When battery gets low enough, a sleeping MacBook [Pro] will actually wake up from sleep and hibernate to disk all by itself.
(terminology: 'sleep' is suspend to RAM, requires battery to keep active. 'hibernate' is suspend to disk, no battery required after RAM copied to HD—obviously requires enough HD space to run the persistence.)