Ubuntu auto-suspends when I unplug my laptop after not having used it for a few minutes.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Settings Daemon |
New
|
Unknown
|
|||
Mutter |
Fix Released
|
Unknown
|
|||
gnome-settings-daemon (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
mutter (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
I'm using Ubuntu 20.04.3 LTS
I have my power settings so that Ubuntu will never auto-suspend if plugged in, but will do so after 20 minutes if on battery power.
If I leave it plugged in but untouched for 20 minutes, and then unplug it (to move it to another room when I come back to it), then it suspends on the way there.
It would seem more intuitive that unplugging/plugging in would be considered interaction, and would reset the delay. The expected behavior, in that case, would be that it gets unplugged, stays on, and then suspends after 20 minutes if there is no further interaction.
I know any official fix would probably take a while, if one is even considered. Is there any workaround?
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSign
Uname: Linux 5.11.0-36-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 460.91.03 Fri Jul 2 06:04:10 UTC 2021
GCC version: gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1
ApportVersion: 2.20.11-
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckR
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Sun Sep 26 14:35:33 2021
DistUpgraded: Fresh install
DistroCodename: focal
DistroVariant: ubuntu
DkmsStatus:
nvidia, 460.91.03, 5.11.0-34-generic, x86_64: installed
nvidia, 460.91.03, 5.11.0-36-generic, x86_64: installed
ExtraDebuggingI
GraphicsCard:
Intel Corporation UHD Graphics 630 (Mobile) [8086:3e9b] (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. UHD Graphics 630 (Mobile) [1043:18fe]
Subsystem: ASUSTeK Computer Inc. GP107M [GeForce GTX 1050 Ti Mobile] [1043:18fe]
InstallationDate: Installed on 2021-02-21 (216 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 13d3:5666 IMC Networks USB2.0 HD UVC WebCam
Bus 001 Device 004: ID 8087:0aaa Intel Corp.
Bus 001 Device 005: ID 1b1c:1b5c Corsair CORSAIR NIGHTSWORD RGB Gaming Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: ASUSTeK COMPUTER INC. TUF GAMING FX504GE_FX80GE
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/19/2020
dmi.bios.release: 5.13
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: FX504GE.320
dmi.board.
dmi.board.name: FX504GE
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: TUF GAMING
dmi.product.name: TUF GAMING FX504GE_FX80GE
dmi.product.
dmi.sys.vendor: ASUSTeK COMPUTER INC.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.105-3~20.04.1
version.
version.
version.
version.
version.
version.
version.
version.
affects: | ubuntu → xorg (Ubuntu) |
Changed in gnome-settings-daemon (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in mutter (Ubuntu): | |
status: | Fix Committed → In Progress |
Changed in gnome-settings-daemon: | |
status: | Unknown → New |
Changed in mutter: | |
status: | Unknown → Fix Released |
Tracking upstream in https:/ /gitlab. gnome.org/ GNOME/gnome- settings- daemon/ -/issues/ 134 although I found it by https:/ /gitlab. gnome.org/ GNOME/gnome- settings- daemon/ -/issues/ 563 which better matches this bug.