You are not logged in.
How to hibernate laptop after few minutes?
I know that I can shutdown not immediately using e.g. 'shutdown +20'
But how to do this with 'systemctl hibernate'? Or any other command?
Offline
sleep 20m; do_stuff?
Offline
Do you mean hibernate when no one is using the computer, or hibernate even when there's someone using the keyboard?
Offline
Before going to bed.
Exact scenario:
I go to bed, I set laptop to hibernate after 20 minutes, because I just want to listen to some music before falling asleep.
Offline