You are not logged in.
Recently started facing this issue where the system goes to suspend in short intervals of 10-15mins. Mind that the system isn't idle when this happens(Example: Maybe a youtube video is playing in foreground or a process running in shell). I haven't configured any sleep settings and I checked /etc/systemd/sleep_conf.d where AllowSuspend is true by default and in /etc/systemd/logind.conf.d where IdleAction is set to suspend-then-hibernate after 15mins.
Apart from this I checked kernel logs through dmesg and found an error reoccuring on every suspend:
[ 8334.147636] ata2.00: ACPI cmd f5/00:00:00:00:00:00(SECURITY FREEZE LOCK) filtered out
[ 8334.147664] ata2.00: configured for UDMA/133
[ 8334.273197] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.RP03.PEGP.TDGC], AE_NOT_FOUND (20260408/psargs-365)
[ 8334.273250] ACPI Error: Aborting method \_SB.PCI0.RP03.PC01._OFF due to previous error (AE_NOT_FOUND) (20260408/psparse-543)
[ 8334.273749] OOM killer enabled.
[ 8334.273751] Restarting tasks: Starting
[ 8334.274584] Restarting tasks: DoneI recently replaced my laptop battery could it be related to that?
Offline
checked /etc/systemd/sleep_conf.d where AllowSuspend is true
You've contents in /etc/systemd/sleep_conf.d ?
IdleAction is set to suspend-then-hibernate after 15mins
Sounds like your situation?
the system isn't idle when this happens(Example: Maybe a youtube video is playing
What you consider idle, your browser considers idle, your desktop environment considers idle and systemd considers idle are not the same things ![]()
The "error" there is merely a report of an incompliant ACPI implementation, it's very unlikely to be related - nor is your battery (unless you discriminate battery and AC behavior and the new battery causes this to be misinterpreted)
Please post your complete system journal for the boot:
sudo journalctl -b | nc termbin.com 9999and
tail -n1000 /etc/systemd/logind.conf{*,d/*} /etc/systemd/sleep_conf.d/*Offline
You've contents in /etc/systemd/sleep_conf.d ?
No, earlier I added a config to disable suspend but removed the config later on. I meant to refer to the default /etc/systemd/sleep.conf.
Sounds like your situation?
Not quite as now the system suspends without idling.
Here's the kernel log for last boot: https://termbin.com/qd11
And the logs for tail -f:
==> /etc/systemd/logind.conf <==
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2.1 of the License, or (at your option)
# any later version.
#
# Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file (or a copy of it placed in
# /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in
# the /etc/systemd/logind.conf.d/ directory. The latter is generally
# recommended. Defaults can be restored by simply deleting the main
# configuration file and all drop-ins located in /etc/.
#
# Use 'systemd-analyze cat-config systemd/logind.conf' to display the full config.
#
# See logind.conf(5) for details.
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#UserStopDelaySec=10
#SleepOperation=suspend-then-hibernate suspend
#HandlePowerKey=poweroff
#HandlePowerKeyLongPress=ignore
#HandleRebootKey=reboot
#HandleRebootKeyLongPress=poweroff
#HandleSuspendKey=suspend
#HandleSuspendKeyLongPress=hibernate
#HandleHibernateKey=hibernate
#HandleHibernateKeyLongPress=ignore
HandleLidSwitch=ignore
#HandleLidSwitchExternalPower=suspend
HandleLidSwitchDocked=ignore
#HandleSecureAttentionKey=secure-attention-key
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#RebootKeyIgnoreInhibited=no
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RuntimeDirectoryInodesMax=
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
#StopIdleSessionSec=infinity
#DesignatedMaintenanceTime=
#WallMessages=yes
==> /etc/systemd/logind.conf.d <==Offline