I have a RPi connected to TV via it's USB port to display statistics graphs. Every morning I have to power it up and set up the chrome tabs which consumes lots of time. I was looking for a way to safely hibernate or suspend by saving state in the evening so the following morning I only have to boot it up.
Leaving the TV on all night is not an option.
restore=
parameter to the kernel command line indicates the location of the swap partition, and when it boots, it checks to see if there is a saved image there. If so, it loads that image into userspace RAM and presto, state is restored.... – goldilocks Oct 03 '19 at 23:55