I can not hibernate Ubuntu 22.04 because:
- "Leave" --> "Hibernate" button does nothing. I do not know why Ubuntu developers include this button.
- Calling
systemctl hibernate
shutdowns system completely. - I've read that I can install uswsusp, but uswsusp is deprecated in Ubuntu 22.04
I use Lubuntu 22.04. Also I use a swap file (I do not know whether using a swap file affects my possibility to hibernate). My RAM is 8 Gb and my swap file is 20 Gb.