Re-visiting hibernate on Ubuntu

I got some custom code help from AskUbuntu in 18.04 which I used to " suspend ". I am not sure whether it is suspend to disk or suspend to RAM.

It is common for me to get away from the desk for short breaks. " Suspend " helps a lot.