I know this question has already been asked but none of those methods worked for me. I tried
sudo systemctl hibernate
but it shuts down my pc. I know this means hibernate isn't supported but I could hibernate on this pc itself on Ubuntu 16.04 before i upgraded to 18.04. So I'm pretty sure that hibernate is supported.
$ swapon --summary
Filename Type Size Used Priority
/dev/sda6 partition 4194300 0 -2
swapon -s
. Thank you! – Terrance Jul 28 '18 at 21:20