In windows, I can just shut the lid and not worry about it, because it will sleep first, and eventually hibernate. Ubuntu would just sleep until the battery dies.
I found instructions for enabling hibernate in Ubuntu, and they did make it show up in the power menu, but it didn't seem to work. (Which is presumably why it was hidden to begin with.)
I also tried NixOS, but I couldn't even get it to boot the installer.