Laptop Suspend Delay Problem

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
0182g03
Level 1
Level 1
Posts: 8
Joined: Sun Dec 17, 2023 4:35 pm

Laptop Suspend Delay Problem

Post by 0182g03 »

I am using xfce 21.2 for a Dell Latitude 3380 laptop.

Whenever I use the suspend mode, there's a 5 second delay when I press the power button that I swatch for suspend mode. The problem is almost the same when I close the lid, but when I open the lid back up, it shows what I last have and than goes on suspend mode.

However, when I use the systemctl suspend, it instantly goes to suspend mode without any delay.

I would like to apologize for any confusion as I am new towards Linux, and I have no idea how to do use linux in a proper sense, I just want to make my laptop to go instantly to suspend without delay.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Laptop Suspend Delay Problem

Post by SMG »

0182g03 wrote: Sun Dec 17, 2023 5:43 pm I am using xfce 21.2 for a Dell Latitude 3380 laptop.
Welcome to the forum, 0182g03.

Please open the System Reports app and click the System Information tab on the left. Your computer's information should come up in the right pane. Then click the Copy button in the lower right and paste the results into a reply window here so we can see how Linux Mint views your hardware.
(Note: Please do not use the System Info app because that is different and does not add the code tags.)
Image
A woman typing on a laptop with LM20.3 Cinnamon.
0182g03
Level 1
Level 1
Posts: 8
Joined: Sun Dec 17, 2023 4:35 pm

Re: Laptop Suspend Delay Problem

Post by 0182g03 »

SMG wrote: Mon Dec 18, 2023 9:07 pm
0182g03 wrote: Sun Dec 17, 2023 5:43 pm I am using xfce 21.2 for a Dell Latitude 3380 laptop.
Welcome to the forum, 0182g03.

Please open the System Reports app and click the System Information tab on the left. Your computer's information should come up in the right pane. Then click the Copy button in the lower right and paste the results into a reply window here so we can see how Linux Mint views your hardware.
(Note: Please do not use the System Info app because that is different and does not add the code tags.)
Here is my computer infomation

Code: Select all

System:
  Kernel: 5.15.0-76-generic x86_64 bits: 64 compiler: gcc v: 11.3.0 Desktop: Xfce 4.18.1
    tk: Gtk 3.24.33 wm: xfwm dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: Dell product: Latitude 3380 v: N/A serial: <superuser required> Chassis:
    type: 10 serial: <superuser required>
  Mobo: Dell model: 0F3C25 v: A00 serial: <superuser required> UEFI: Dell v: 1.24.0
    date: 09/19/2023
Battery:
  ID-1: BAT0 charge: 23.6 Wh (79.2%) condition: 29.8/56.0 Wh (53.1%) volts: 16.0 min: 15.2
    model: Samsung SDI DELL W7NKD85 serial: <filter> status: Discharging
CPU:
  Info: dual core model: Intel Core i3-6006U bits: 64 type: MT MCP arch: Skylake rev: 3 cache:
    L1: 128 KiB L2: 512 KiB L3: 3 MiB
  Speed (MHz): avg: 2000 min/max: 400/2000 cores: 1: 2000 2: 2000 3: 2000 4: 2000
    bogomips: 15999
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Dell driver: i915 v: kernel ports:
    active: eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:1916
  Device-2: Realtek Integrated Webcam type: USB driver: uvcvideo bus-ID: 1-5:2
    chip-ID: 0bda:568a
  Display: x11 server: X.Org v: 1.21.1.4 compositor: xfwm v: 4.18.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96
  Monitor-1: eDP-1 model: Chi Mei Innolux res: 1366x768 dpi: 118 diag: 336mm (13.2")
  OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2) v: 4.6 Mesa 22.2.5 direct render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3 chip-ID: 8086:9d70
  Sound Server-1: ALSA v: k5.15.0-76-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell driver: r8169
    v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168
  IF: enp2s0 state: down mac: <filter>
  Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Dell
    driver: ath10k_pci v: kernel pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 168c:003e
  IF: wlp3s0 state: up mac: <filter>
Bluetooth:
  Device-1: Qualcomm Atheros type: USB driver: btusb v: 0.8 bus-ID: 1-7:3 chip-ID: 0cf3:e007
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 2.1 lmp-v: 4.2
    sub-v: 25a
Drives:
  Local Storage: total: 1.03 TiB used: 17.4 GiB (1.7%)
  ID-1: /dev/sda vendor: SK Hynix model: SC311 SATA 128GB size: 119.24 GiB speed: 6.0 Gb/s
    serial: <filter>
  ID-2: /dev/sdb type: USB vendor: Samsung model: PSSD T7 size: 931.51 GiB serial: <filter>
Partition:
  ID-1: / size: 116.32 GiB used: 11.34 GiB (9.7%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 98.4 MiB used: 6 MiB (6.1%) fs: vfat dev: /dev/sda1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Device-1: 1-2:4 info: Samsung PSSD T7 type: Mass Storage driver: uas rev: 2.1 speed: 480 Mb/s
    chip-ID: 04e8:4001
  Device-2: 1-5:2 info: Realtek Integrated Webcam type: Video driver: uvcvideo rev: 2.0
    speed: 480 Mb/s chip-ID: 0bda:568a
  Device-3: 1-7:3 info: Qualcomm Atheros type: Bluetooth driver: btusb rev: 2.0 speed: 12 Mb/s
    chip-ID: 0cf3:e007
  Hub-2: 2-0:1 info: Super-speed hub ports: 6 rev: 3.0 speed: 5 Gb/s chip-ID: 1d6b:0003
Sensors:
  System Temperatures: cpu: 45.0 C pch: 39.0 C mobo: 39.0 C sodimm: SODIMM C
  Fan Speeds (RPM): cpu: 0
Repos:
  Packages: apt: 2124
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com victoria main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 219 Uptime: 2m Memory: 15.33 GiB used: 1.11 GiB (7.3%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.3.0 alt: 11/12 Client: Unknown python3.10 client inxi: 3.3.13
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Laptop Suspend Delay Problem

Post by SMG »

0182g03 wrote: Tue Dec 19, 2023 4:04 amHere is my computer infomation
This output indicates you have not yet run the updates in Update Manager. The kernel and other listed packages are not showing the latest versions. Please update and see if that helps with this issue.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
0182g03
Level 1
Level 1
Posts: 8
Joined: Sun Dec 17, 2023 4:35 pm

Re: Laptop Suspend Delay Problem

Post by 0182g03 »

SMG wrote: Tue Dec 19, 2023 11:52 am
0182g03 wrote: Tue Dec 19, 2023 4:04 amHere is my computer infomation
This output indicates you have not yet run the updates in Update Manager. The kernel and other listed packages are not showing the latest versions. Please update and see if that helps with this issue.
The issue remains the same, even though I have run the updates in the Update Manager

Here is the output, I am not sure if anything has change

Code: Select all

System:
  Kernel: 6.5.0-14-generic x86_64 bits: 64 compiler: N/A Desktop: Xfce 4.18.1 tk: Gtk 3.24.33
    wm: xfwm dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: Dell product: Latitude 3380 v: N/A serial: <superuser required> Chassis:
    type: 10 serial: <superuser required>
  Mobo: Dell model: 0F3C25 v: A00 serial: <superuser required> UEFI: Dell v: 1.24.0
    date: 09/19/2023
Battery:
  ID-1: BAT0 charge: 26.6 Wh (89.3%) condition: 29.8/56.0 Wh (53.1%) volts: 16.2 min: 15.2
    model: Samsung SDI DELL W7NKD85 serial: <filter> status: Discharging
CPU:
  Info: dual core model: Intel Core i3-6006U bits: 64 type: MT MCP arch: Skylake rev: 3 cache:
    L1: 128 KiB L2: 512 KiB L3: 3 MiB
  Speed (MHz): avg: 2000 min/max: 400/2000 cores: 1: 2000 2: 2000 3: 2000 4: 2000
    bogomips: 15999
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Dell driver: i915 v: kernel ports:
    active: eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:1916
  Device-2: Realtek Integrated Webcam type: USB driver: uvcvideo bus-ID: 1-5:2
    chip-ID: 0bda:568a
  Display: x11 server: X.Org v: 1.21.1.4 compositor: xfwm v: 4.18.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96
  Monitor-1: eDP-1 model: Chi Mei Innolux res: 1366x768 dpi: 118 diag: 336mm (13.2")
  OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2) v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1
    direct render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3 chip-ID: 8086:9d70
  Sound Server-1: ALSA v: k6.5.0-14-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell driver: r8169
    v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168
  IF: enp2s0 state: down mac: <filter>
  Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Dell
    driver: ath10k_pci v: kernel pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 168c:003e
  IF: wlp3s0 state: up mac: <filter>
  IF-ID-1: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter>
  IF-ID-2: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter>
Bluetooth:
  Device-1: Qualcomm Atheros type: USB driver: btusb v: 0.8 bus-ID: 1-7:3 chip-ID: 0cf3:e007
  Report: hciconfig ID: hci0 rfk-id: 3 state: down bt-service: enabled,running rfk-block:
    hardware: no software: yes address: <filter>
Drives:
  Local Storage: total: 119.24 GiB used: 32.45 GiB (27.2%)
  ID-1: /dev/sda vendor: SK Hynix model: SC311 SATA 128GB size: 119.24 GiB speed: 6.0 Gb/s
    serial: <filter>
Partition:
  ID-1: / size: 116.32 GiB used: 32.44 GiB (27.9%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 98.4 MiB used: 6 MiB (6.1%) fs: vfat dev: /dev/sda1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Device-1: 1-5:2 info: Realtek Integrated Webcam type: Video driver: uvcvideo rev: 2.0
    speed: 480 Mb/s chip-ID: 0bda:568a
  Device-2: 1-7:3 info: Qualcomm Atheros type: Bluetooth driver: btusb rev: 2.0 speed: 12 Mb/s
    chip-ID: 0cf3:e007
  Hub-2: 2-0:1 info: Super-speed hub ports: 6 rev: 3.0 speed: 5 Gb/s chip-ID: 1d6b:0003
Sensors:
  System Temperatures: cpu: 48.0 C pch: 40.5 C mobo: 40.0 C sodimm: SODIMM C
  Fan Speeds (RPM): cpu: 0
Repos:
  Packages: apt: 2322
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
    1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https: //brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https: //dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https: //mirror.csclub.uwaterloo.ca/linuxmint-packages victoria main upstream import backport
    2: deb http: //archive.ubuntu.mirror.rafal.ca/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.mirror.rafal.ca/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.mirror.rafal.ca/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http: //repository.spotify.com stable non-free
  Active apt repos in: /etc/apt/sources.list.d/vscode.list
    1: deb [arch=amd64,arm64,armhf] http: //packages.microsoft.com/repos/code stable main
  Active apt repos in: /etc/apt/sources.list.d/yuezk-globalprotect-openconnect-jammy.list
    1: deb [signed-by=/etc/apt/keyrings/yuezk-globalprotect-openconnect-jammy.gpg] https: //ppa.launchpadcontent.net/yuezk/globalprotect-openconnect/ubuntu jammy main
    2: deb-src [signed-by=/etc/apt/keyrings/yuezk-globalprotect-openconnect-jammy.gpg] https: //ppa.launchpadcontent.net/yuezk/globalprotect-openconnect/ubuntu jammy main
Info:
  Processes: 241 Uptime: 8m Memory: 15.32 GiB used: 1.66 GiB (10.8%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Unknown python3.10 client inxi: 3.3.13
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Laptop Suspend Delay Problem

Post by SMG »

0182g03 wrote: Tue Dec 19, 2023 3:29 pmThe issue remains the same, even though I have run the updates in the Update Manager
How did you get from the 5.15 kernel to the 6.5 kernel? That is not part of a standard update. :?

Did you originally do a fresh install of LM21.2 Xfce?

There were changes in the power-management of latest version of Xfce, but I will have to check to see if any of them affected the ability to suspend.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Laptop Suspend Delay Problem

Post by SMG »

0182g03 wrote: Sun Dec 17, 2023 5:43 pmWhenever I use the suspend mode, there's a 5 second delay when I press the power button that I swatch for suspend mode. The problem is almost the same when I close the lid, but when I open the lid back up, it shows what I last have and than goes on suspend mode.
Both of those options are hardware-related options. Sometimes there are settings in BIOS/UEFI related to what to do when closing the lid or pressing the power button. Check to see if there are any which might be a factor in this situation.
0182g03 wrote: Sun Dec 17, 2023 5:43 pmHowever, when I use the systemctl suspend, it instantly goes to suspend mode without any delay.
Do you mean you are running a command in terminal? Have you tried using the desktop GUI to suspend?

I went through the xfce-power-manager bug reports and didn't find anything which sounded similar to what you have described.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
0182g03
Level 1
Level 1
Posts: 8
Joined: Sun Dec 17, 2023 4:35 pm

Re: Laptop Suspend Delay Problem

Post by 0182g03 »

SMG wrote: Tue Dec 19, 2023 4:38 pm Did you originally do a fresh install of LM21.2 Xfce?
I believe so, I did a fresh install of Linux Mint xfce 21.2 just two days ago
0182g03
Level 1
Level 1
Posts: 8
Joined: Sun Dec 17, 2023 4:35 pm

Re: Laptop Suspend Delay Problem

Post by 0182g03 »

SMG wrote: Tue Dec 19, 2023 5:35 pm Both of those options are hardware-related options. Sometimes there are settings in BIOS/UEFI related to what to do when closing the lid or pressing the power button. Check to see if there are any which might be a factor in this situation.
I will try and see if there is anything related to that in the BIOS/UEFI settings. I will do my best to update it as soon as possible
SMG wrote: Tue Dec 19, 2023 5:35 pmDo you mean you are running a command in terminal? Have you tried using the desktop GUI to suspend?
The desktop GUI seems to work properly, as it was instant when I click on suspend mode.
0182g03
Level 1
Level 1
Posts: 8
Joined: Sun Dec 17, 2023 4:35 pm

Re: Laptop Suspend Delay Problem

Post by 0182g03 »

SMG wrote: Tue Dec 19, 2023 5:35 pm Both of those options are hardware-related options. Sometimes there are settings in BIOS/UEFI related to what to do when closing the lid or pressing the power button. Check to see if there are any which might be a factor in this situation.
I don't think there is an option for what closing the lid and the power button do when pressed in the UEFI settings on the laptop, as far as I can find on the UEFI settings.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Laptop Suspend Delay Problem

Post by SMG »

0182g03 wrote: Tue Dec 19, 2023 7:07 pmI don't think there is an option for what closing the lid and the power button do when pressed in the UEFI settings on the laptop, as far as I can find on the UEFI settings.
Okay.
0182g03 wrote: Tue Dec 19, 2023 6:53 pmThe desktop GUI seems to work properly, as it was instant when I click on suspend mode.
I do not know all the options in Xfce, but I don't know why the desktop GUI would work and the other two options would have a delay.

Maybe someone else with Xfce will have experienced this issue and can help.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
0182g03
Level 1
Level 1
Posts: 8
Joined: Sun Dec 17, 2023 4:35 pm

Re: Laptop Suspend Delay Problem

Post by 0182g03 »

SMG wrote: Tue Dec 19, 2023 7:10 pm I do not know all the options in Xfce, but I don't know why the desktop GUI would work and the other two options would have a delay.

Maybe someone else with Xfce will have experienced this issue and can help.
I am not sure if this is important, but a couple of days ago, I installed Linux Ubuntu before switching to Linux Mint, but there was no delay when putting on suspend mode when closing the lid or pressing the physical power button, I am unsure why it seems to be on Linux Mint.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Laptop Suspend Delay Problem

Post by SMG »

0182g03 wrote: Tue Dec 19, 2023 7:25 pmI am not sure if this is important, but a couple of days ago, I installed Linux Ubuntu before switching to Linux Mint, but there was no delay when putting on suspend mode when closing the lid or pressing the physical power button, I am unsure why it seems to be on Linux Mint.
To be honest, this is the first time I have ever heard anyone describe this type of issue. I do not know why it might happen.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
0182g03
Level 1
Level 1
Posts: 8
Joined: Sun Dec 17, 2023 4:35 pm

Re: Laptop Suspend Delay Problem

Post by 0182g03 »

SMG wrote: Tue Dec 19, 2023 7:51 pm To be honest, this is the first time I have ever heard anyone describe this type of issue. I do not know why it might happen.
Ah, understandable, thank you for your help, hopefully someone else can help as well and fix this issue.
User avatar
diam0ndkiller
Level 2
Level 2
Posts: 83
Joined: Fri Dec 08, 2023 3:06 am
Location: Germany

Re: Laptop Suspend Delay Problem

Post by diam0ndkiller »

Hey. I have the same situation on my Lenovo Chromebook with Linux Mint 21. I just tried it out and for me too the command works instantly while the laptop lid method has delays. I'll be experimenting a bit in the next days and post solutions here.
Linux Mint Xfce 21 | CalyxOS 5.4.1 | Raspberry Pi OS 11
Post Reply

Return to “Xfce”