I couldn't find any info on how to solve my specific case, so here i am.
I've tried pretty much everything but hibernate doesn't work.
Edit: ignore this two paragraphs below, stuff has changed.
turns off my pc for a second, then it goes back on(no boot so it doesn't really turn off) and i see a blinking '_' for a second, then the pc completely shuts off. Manually powering back on results in a normal boot.
turns off my mouse and screen, they then turn back on a couple seconds later.
Edit: the new situation
Shuts down the pc, however i only need to press a key to boot it up, after entering ubuntu in the grub menu this flashs on the screen, after the login nothing has been saved.
since before i have installed the uswsusp package, running
My guess is that the swap file is deleted at boot time(?).
- kernel 4.15.0-29-generic
- Ubuntu 18.04.1 LTS
- swapfile of 16G(same as my RAM) Edit: expanded to 32G(no change)
- pm-utils wasn't installed by default(dunno if it's helpful)
/etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla doesn't make the hibernate button appear.