When running out of battery and trying to bring the system back up again, I'm faced with a black screen and fans on full.
I've configured hibernate using guide which sets the swap uuid in the grub file.
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=14cee2ec-9d37-4ac0-b594-eae0e55814aa"
and sets the swap uuid again in /etc/initramfs-tools/conf.d/resume
My swap drive is the same size as my RAM.
However, something is still causing crashes during hibernate only when running out of battery - otherwise hibernate works fine.
in
/etc/UPower/UPower.conf
Edit the line
to