How do I put my pc (ubuntu 16.04) in the same state as when in automatically tuns off when the battery level is too low (without letting it die of course).
It is interesting for me because open apps aren't closed when this happens, so I can still save my work. I can't hibernate because it freezes the computer (I already tried everything so that isn't the issue here).
Thank you for your respond if you can think of something.