hibernate or suspend not working XUBUNTU

recently installed xubuntu as dual boot alongside windows 10 on my dell laptop. neither hibernation nor suspend is working. when i close the lid of my computer and open it again i get a black screen. machine seems to be running but i get no response. only option is to hit the shutdown button to force shutdown.

since i did not create a swap partition on installation, i used a live cd to resize my ubuntu partition and create a swap partition. i also hit the swapon option in Gparted.

rebooted the computer back into xubntu but still no go… same problem with suspend and hibernate.

I’ve looked at this answer to edit /etc/fstab but I’m not sure if that’s the right thing to do.

here’s how my /etc/stab file looks like.

laptop specs: dell vostro