Check UUID
sudo blkid
Then
sudo gedit /etc/default/grub
to pull up the boot loader configuration.
Look for the line GRUB_CMDLINE_LINUX_DEFAULT="" and using your UUID add:
resume=UUID=41e86209-3802-424b-9a9d-d7683142dab7
That means change this
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
to this
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=41e86209-3802-424b-9a9d-d7683142dab7"
save then edit:
gksu gedit /etc/initramfs-tools/conf.d/resume
and make sure its contents are
RESUME=UUID=41e86209-3802-424b-9a9d-d7683142dab7
(with your UUID of course in place of mine). Save the file!
sudo update-grub
sudo update-initramfs -u -k all
Reboot!
https://help.ubuntu.com/community/SwapFaq
Edit: Technically only one of the two methods needs to be used, the kernel parameter in the grub file will take precedence over the initramfs resume config file