Can't get hibernate to work Ubuntu 21.10

It is not configured at all by default. You may want to follow the instructions here

Basically, you will need to:

  1. Create swap file (so memory can be saved there on disk)
  2. Update grab so Ubuntu will load from that file

It did work for me after I completed it.