FG
💻 Software

Linux:How to hibernate after a period of sleep

Fresh5 days ago
Mar 15, 202612481 views
Confidence Score0%
0%

Problem

One of the windows features I miss in linux is the following: In windows you close the notebook lid and the system suspends to RAM, after a while (configurable) the computer automatically wakes up and proceed to suspend to disk. I know that in linux exists suspend2both mode but that works suspendin…

Error Output

#!/bin/bash
# Script name: /etc/pm/sleep.d/00rtchibernate
# Purpose: Auto hibernates after a period of sleep
# Edit the "autohibernate" variable belo…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Linux:How to hibernate after a period of sleep

Low Risk

I'd guess what you'd want is something like http://www.linuxcertif.com/man/8/rtcwake/ which could be used instead of the default S2R (AKA sleep) program. This could then wake the machine if it has been asleep for more than (say) 20 minutes and trigg…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment