Views:
218β
Votes: 0β
β
Solution
Tags:
suspend
power-management
Link:
π See Original Answer on Ask Ubuntu β§ π
URL:
https://askubuntu.com/q/849893
Title:
Why does my laptop suspend after 5 minutes?
ID:
/2016/11/16/Why-does-my-laptop-suspend-after-5-minutes_
Created:
November 16, 2016
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
You mentioned you checked the power options screen so Iβll put add this one even though I donβt think it is effecting you, but which you can check nonethelesss:
The only thing I can think of now are gnome settings which you can force off via the terminal:
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type nothing
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 0
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type nothing
The value of 0
seconds on lines 1 and 3 turns the function off. The nothing
feature on lines 2 and 4 are like hitting it was a hammer twice.
If problem persists there are other things in systemd
to look at such as xautolock
but the steps above are the most obvious ones to try first.