Hello,
I am having trouble changing the default hibernation delay (from the start of sleep) from 180 min to anything else. It seems like systemctl sleep-then-hibernate uses the value of HibernateDelaySec= in the /etc/systemd/sleep.conf but KDE Energy Saving does not respect that value when the option “While asleep, hibernate after a period of activity” is selected.
I have tested the automatic suspend → hibernation behavior with both suspend to memory (sleep) and and suspend to both (hybrid sleep).
System:
Kernel: 5.14.7-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.14-x86_64
root=UUID=8e39615c-86eb-4c06-897d-f0c93395ebb1 rw quiet apparmor=1
security=apparmor udev.log_priority=3
resume=UUID=658f9e73-6540-4d81-8af2-eff72986dc01 sysrq_always_enabled=1
Desktop: KDE Plasma 5.22.5 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 81SS v: Lenovo IdeaPad FLEX-14API
serial: <filter> Chassis: type: 10 v: Lenovo IdeaPad FLEX-14API
serial: <filter>
Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN serial: <filter>
UEFI: LENOVO v: AGCN28WW(V1.11) date: 01/27/2021
Battery:
ID-1: BAT1 charge: 35.0 Wh (100.0%) condition: 35.0/45.0 Wh (77.8%)
volts: 17.2 min: 15.4
model: 0x43 0x65 0x6C 0x78 0x70 0x65 0x 0x4C 0x31 0x38 0x43 0x34 0x50 0x4500
type: Li-ion serial: <filter> status: Full cycles: 123
Device-1: hidpp_battery_0
model: Logitech G305 Lightspeed Wireless Gaming Mouse serial: <filter>
charge: 100% (should be ignored) rechargeable: yes status: Discharging
Memory:
RAM: total: 5.74 GiB used: 3.91 GiB (68.2%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: 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: 8108109 cache: L2: 2 MiB bogomips: 33550
Speed: 2672 MHz min/max: 1400/2100 MHz boost: enabled Core speeds (MHz):
1: 2672 2: 2515 3: 1320 4: 1231 5: 1230 6: 1225 7: 1230 8: 1225
Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
bmi2 bpext clflush clflushopt clzero cmov cmp_legacy constant_tsc cpb cpuid
cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid
fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb irperf lahf_lm lbrv lm mca
mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl
npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq pdpe1gb
perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse pse36
rapl rdrand rdseed rdtscp rep_good sep sev sev_es sha_ni skinit smap smca
sme smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 succor svm svm_lock syscall
tce topoext tsc tsc_scale v_vmsave_vmload vgif vmcb_clean vme vmmcall wdt
xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
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: Lenovo driver: amdgpu v: kernel
bus-ID: 04:00.0 chip-ID: 1002:15d8 class-ID: 0300
Device-2: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 1-4:3
chip-ID: 5986:2115 class-ID: 0e02
Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver:
loaded: amdgpu,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: 158 size: 309x173mm (12.2x6.8")
diag: 354mm (13.9")
OpenGL: renderer: AMD Radeon Vega 8 Graphics (RAVEN DRM 3.42.0
5.14.7-2-MANJARO LLVM 12.0.1)
v: 4.6 Mesa 21.2.2 direct render: Yes
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Lenovo
driver: snd_hda_intel v: kernel bus-ID: 04:00.1 chip-ID: 1002:15de
class-ID: 0403
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo
driver: snd_pci_acp3x v: kernel alternate: snd_rn_pci_acp3x bus-ID: 04:00.5
chip-ID: 1022:15e2 class-ID: 0480
Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel
v: kernel bus-ID: 04:00.6 chip-ID: 1022:15e3 class-ID: 0403
Sound Server-1: ALSA v: k5.14.7-2-MANJARO running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.37 running: yes
Network:
Device-1: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter
vendor: Lenovo ThinkPad E595 driver: rtw_8822be v: N/A modules: rtw88_8822be
port: 2000 bus-ID: 02:00.0 chip-ID: 10ec:b822 class-ID: 0280
IF: wlp2s0 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Bluetooth:
Device-1: Realtek RTL8822BE Bluetooth 4.2 Adapter type: USB driver: btusb
v: 0.8 bus-ID: 3-2:3 chip-ID: 0bda:b023 class-ID: e001 serial: <filter>
Report: rfkill ID: hci0 rfk-id: 11 state: up address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 465.76 GiB used: 79.5 GiB (17.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Smart Modular Tech.
model: SHGP31-500GM-2 size: 465.76 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 41060C20 temp: 36.9 C scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 336.11 GiB size: 329.83 GiB (98.13%)
used: 77.56 GiB (23.5%) fs: ext4 dev: /dev/nvme0n1p5 maj-min: 259:5
label: N/A uuid: 8e39615c-86eb-4c06-897d-f0c93395ebb1
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
used: 25.2 MiB (26.3%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
label: N/A uuid: 08E2-66EF
Swap:
Kernel: swappiness: 40 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 16 GiB used: 1.92 GiB (12.0%)
priority: -2 dev: /dev/nvme0n1p6 maj-min: 259:6 label: N/A
uuid: 658f9e73-6540-4d81-8af2-eff72986dc01
Unmounted:
ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
label: N/A uuid: N/A
ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 113.04 GiB fs: ntfs label: N/A
uuid: 7A12E43812E3F753
ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 508 MiB fs: ntfs label: N/A
uuid: 6010308110306068
USB:
Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-2:2 info: Logitech USB Receiver type: Keyboard,Mouse,HID
driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s
power: 98mA chip-ID: 046d:c53f class-ID: 0300
Device-2: 1-4:3 info: Acer Integrated Camera type: Video driver: uvcvideo
interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 5986:2115
class-ID: 0e02
Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-4: 3-1:2 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s
power: 100mA chip-ID: 05e3:0608 class-ID: 0900
Device-1: 3-1.2:4 info: Shenzhen Goodix Fingerprint Reader
type: <vendor specific> driver: N/A interfaces: 1 rev: 2.0 speed: 480 Mb/s
power: 100mA chip-ID: 27c6:55b4 class-ID: ef00
Device-2: 3-2:3 info: Realtek RTL8822BE Bluetooth 4.2 Adapter
type: Bluetooth driver: btusb interfaces: 2 rev: 1.1 speed: 12 Mb/s
power: 500mA chip-ID: 0bda:b023 class-ID: e001 serial: <filter>
Hub-5: 4-0:1 info: Full speed (or root) Hub ports: 1 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: 61.6 C mobo: N/A gpu: amdgpu temp: 61.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 257 Uptime: 45m wakeups: 54 Init: systemd v: 249 tool: systemctl
Compilers: gcc: 11.1.0 Packages: 1406 pacman: 1398 lib: 377 flatpak: 0
snap: 8 Shell: Zsh v: 5.8 default: Bash v: 5.1.8 running-in: yakuake
inxi: 3.3.06