Apple’s Mac OSX hibernate can be delayed indefinitely or turned off by issuing this terminal command.
sudo pmset -a hibernatemode 0
To get back to default normal hibernate mode type this terminal command.
sudo pmset -a hibernatemode 3
So the word is this won’t disable hibernate on battery failures. Haven’t tested, hope I won’t have to.