How should I fix suspend/hibernate on my ubuntu 15.10 laptop

I guess I should describe the issue first. When I put my computer in sleep mode one of two things happen. I either get a screen that says something like:

No key available with this passphrase.
  /run/lvm/lvmetad.socket: connect failed: No such file or directory
  WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
  Reading all physical volumes. This may take a while...
  Found volume group "ubuntu-gnome-vg" using metadta type lvm2
  /run/lvm/lvmetad.socket: connect failed: no such file or directory
  WARNING: failed to connect to lvmetad. Falling back to internal scanning.
  2 logical volume(s) in volume group "ubuntu-gnome-vg" now active
fsck from util-linux 2.26.2
/dev/mapper/ubuntu--gnome--vg-root: clean, 253178/15065088 files, 2986574/60250112 blocks

At which point the only thing i can do is hard power it off to reset it.

It also given an option that seems to reboot it on wake up, and prompts me with the disk encryption page. When I load the computer back up, my programs which I had open are not there. The whole point of sleep state for me is saving the programs while the computer is not fully on.

my questions are:

  • First how do I remedy it?
  • In this case is sleep or hibernate better?
  • Does secure boot have anything to do with this, and should I enable it?

sleep mostly shuts of the computer but keeps RAM powered and resumes faster while hibernate shuts down the whole computer and stores content in ram to the hard drive, then moves it back on resume.

secure boot hinders viruses to boot from stealthily infected USB drives. it will stop most versions of Linux booting unless manually configured.

I'm not deep into linux so someone else would have to help you fix it.