This question already has an answer here:
It seems like Hibernate function is not working properly on Ubuntu 18.04. I have tried with several commands like
sudo pm-hibernate, and
sudo systemctl hibernate etc. Nothing works.
Is hibernate also related to Hardware? My laptop RAM is 16GB and I have created the swap partition with the size of 24GB.