Closing lid, idle laptop for few min , can't wake it

Hi,

When I close the lid on my laptop, or when the laptop is idle for 5 or more min,
laptop become unresponsive. Lock screen is showed but with time different than actual ( I supose it shows time when screen goes black )

What can I do to fix that ?
It only happened when it is on battery ( as I saw now, suspend action is on sleep) maybe that is a problem ?

thanks

What I’d do in this case is set it to “Do Nothing” or “Turn off Display” when the lid is closed and also disable the screen-locking. But if you post your system specs e.g. inxi -Fayz people may be able to help fix the issue. :slight_smile:

1 Like
[marko@HPenvy ~]$ inxi -Fayz

System:
Kernel: 5.9.0-1-MANJARO x86_64 bits: 64 compiler: N/A
parameters: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64
root=UUID=6301f4ee-2f1b-4af9-8c13-522b784a1928 rw acpi_osi=Linux
acpi_backlight=vendor quiet apparmor=1 security=apparmor udev.log_priority=3
Desktop: KDE Plasma 5.19.5 tk: Qt 5.15.0 wm: kwin_x11 dm: SDDM
Distro: Manjaro Linux
Machine:
Type: Convertible System: HP product: HP ENVY x360 Convertible 13-ar0xxx
v: N/A serial: Chassis: type: 31 serial:
Mobo: HP model: 85DE v: 41.36 serial: UEFI: AMI v: F.19
date: 12/26/2019
Battery:
ID-1: BAT0 charge: 30.6 Wh condition: 52.9/52.9 Wh (100%) volts: 15.2/15.4
model: 333-2B-49-A KC04053XL type: Li-ion serial:
status: Discharging
Device-1: hid-0018:04F3:23B9.0001-battery model: ELAN2514:00 04F3:23B9
serial: N/A charge: N/A status: N/A
CPU:
Topology: Quad Core model: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx
bits: 64 type: MT MCP arch: Zen+ family: 17 (23) model-id: 18 (24)
stepping: 1 microcode: 8108102 L2 cache: 2048 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 33549
Speed: 1220 MHz min/max: 1400/2100 MHz boost: enabled Core speeds (MHz):
1: 1223 2: 1227 3: 1257 4: 1277 5: 1221 6: 1222 7: 1221 8: 1222
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP:
disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Picasso vendor: Hewlett-Packard driver: amdgpu v: kernel
bus ID: 04:00.0 chip ID: 1002:15d8
Device-2: Lite-On HP Wide Vision HD Camera type: USB driver: uvcvideo
bus ID: 3-1:2 chip ID: 04ca:709d
Display: x11 server: X. Org 1.20.9 compositor: kwin_x11 driver: amdgpu
FAILED: ati unloaded: modesetting alternate: fbdev,vesa display ID: :0
screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
s-diag: 582mm (22.9")
Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 166 size: 293x165mm (11.5x6.5")
diag: 336mm (13.2")
OpenGL: renderer: AMD RAVEN (DRM 3.39.0 5.9.0-1-MANJARO LLVM 10.0.1)
v: 4.6 Mesa 20.1.6 direct render: Yes
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus ID: 04:00.1 chip ID: 1002:15de
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
vendor: Hewlett-Packard driver: N/A
alternate: snd_pci_acp3x, snd_rn_pci_acp3x bus ID: 04:00.5
chip ID: 1022:15e2
Device-3: AMD Family 17h HD Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus ID: 04:00.6 chip ID: 1022:15e3
Sound Server: ALSA v: k5.9.0-1-MANJARO
Network:
Device-1: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter
vendor: Hewlett-Packard driver: rtw_8822be v: N/A modules: rtw88_8822be
port: f000 bus ID: 02:00.0 chip ID: 10ec:b822
IF: wlo1 state: up mac:
Drives:
Local Storage: total: 476.94 GiB used: 9.17 GiB (1.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKNW512G8H size: 476.94 GiB
block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4
serial: rev: HPS0 scheme: GPT
Partition:
ID-1: / raw size: 476.64 GiB size: 468.16 GiB (98.22%) used: 9.17 GiB (2.0%)
fs: ext4 dev: /dev/nvme0n1p2
Swap:
Alert: No Swap data was found.
Sensors:
System Temperatures: cpu: 36.5 C mobo: 35.0 C gpu: amdgpu temp: 36 C
Fan Speeds (RPM): N/A
Info:
Processes: 246 Uptime: 10m Memory: 5.74 GiB used: 1.06 GiB (18.5%)
Init: systemd v: 246 Compilers: gcc: N/A Packages: pacman: 1187 lib: 340
flatpak: 0 Shell: Bash v: 5.0.18 running in: konsole inxi: 3.1.05
[marko@HPenvy ~]$

Quite recent hardware; I was going to suggest trying a newer kernel but I see you’re using 5.9 (I didn’t know that was already released!) … maybe try 5.8 though & see if that makes any difference.

Otherwise I’d probably just disable those features if you don’t need them. Mine will turn the display off after a while when on battery but doesn’t activate the lock screen which has been problematic for me in the past (whether activated intentionally or via a timeout).

Hopefully someone more familiar with your new hardware will be able to assist?

1 Like

No need, I use an inspiron from the 2012 and it works fine. Don’t understand why you want to install linux on such a capable laptop! Anyway, In xfce rise up the lid, wait a few seconds and you will see a flash of a mouse and sign of life. Don’t press the shutdown button, that will prompt it to fully shut down. Instead type in your password even if the screen is black. It will come to life.

One thing I have noticed that the laptop GETS HAWT when I shut down the lid and leave it in a desk, as It springs to life in the upper steps. My previous os, win7 went to sleep auto and kept the laptop cold. Maybe the not sleeping off despite the lid down confuses the os, and the following mentioned above happens. Try mine and see if that will work.