I have a Thinkpad T470p laptop with Linux Mint 20.1 (Xfce) installed for personal use and power management is one of the things I dislike in otherwise a pretty good laptop. Compared to my work laptop, a Macbook, the Thinkpad drains battery in sleep mode and I often find the battery completely drained if I happen to not to use the laptop for a couple of days.
Since Linux Mint does not come with Hibernation option enabled out of the box, following are the steps I did to enable this option.
Swap partitionPermalink
I found it is easier to have the right size of swap partition at installation time rather than trying hibernation support based on a swap file. Following instructions are based on my setup with a swap partition.
I created a swap partition of 25G since I have 24G of RAM at install time.