[systemd-devel] no log information about why machine is sleeping
Luis Chamberlain
mcgrof at kernel.org
Wed Aug 11 22:24:25 UTC 2021
On Wed, Aug 11, 2021 at 05:11:21PM -0400, George Avrunin wrote:
> Aug 07 14:09:22 ext.math.umass.edu kernel: ACPI: Preparing to enter system
> sleep state S3
That's suspend to ram. Depending on the distribution it may or not be a
a default after a period of time of idle. The idea is that moving a
mouse would resume it. For desktops this is stupid. Try:
systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.targe
To re-enable:
sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target
Luis
More information about the systemd-devel
mailing list