Re: s2idle on kdell xps 9730 does go to sleep but laptop is warm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 02, 2025 at 04:23:42PM +0200, Rafael J. Wysocki wrote:
> >  With kernel 6.6.9 when I put the laptop to sleep, syslog shows that the
> >  laptop was sleeping for 9h, fans were stopped, but when I gabbed my
> >  laptop it was warm and burned 80% of the battery overnight.
> 
> First off, I'd try a newer kernel.  Say 6.15.0 (unless you boot with
> "nosmt" in the kernel command line).
 
Fair point, I somehow failed to upgrade the kernel on that machine.
I have a 6.14.5 kernel I just installed.

I also upgraded all firmware:
dpkggrep firmware | awk '{ print $1 }' | xargs apt-get install -t unstable  -y

> > And yet, linux was not running, my logs show the kernel went into ACPI
> > sleep and back out
> 
> It wouldn't be "ACPI sleep" if it was suspend-to-idle.

My thinkpad has:
sauron:~# cat /sys/power/mem_sleep
s2idle [deep]

The Dell XPS only has:
merlin:/usr/src# cat /sys/power/mem_sleep
[s2idle]

> What processor is there in your system?

model name      : 13th Gen Intel(R) Core(TM) i7-13700H

> Well, it obviously is not a complete log.

Ok, I tested again with the new kernel. The laptop didn't feel warm when
in sleep, but I lost 20% battery in 4H, which means the battery would
not last 24H in sleep

For logs, which one did you want?  I have pretty full logs here:
https://marc.merlins.org/tmp/merlin-sleep-6.14.5_dmesg.txt
https://marc.merlins.org/tmp/merlin-sleep-6.14.5_acpi.txt

One thing I changed recently is that unloading wireless altogether,
causes issues at times, so now I have
rfkill block wlan
instead of
killall wpa_supplicant &>/dev/null
pkill -f "dhclient.*wlan0"
ifconfig -a | grep -q wlan0 && ifconfig wlan0 down
rmmod iwlmvm
rmmod iwlwifi iwlagn iwlcore
rmmod ieee80211
rmmod ieee80211_crypt_wep 2>/dev/null
rmmod ieee80211_crypt_tkip 2>/dev/null
rmmod ieee80211_crypt 2>/dev/null
rmmod mac80211 2>/dev/null
rmmod cfg80211 2>/dev/null

This bit of dmesg just before sleep may be relevant:
[  226.365652] thunderbolt 0000:00:0d.2: save config 0x34: 0x00000080
[  226.365654] thunderbolt 0000:00:0d.3: save config 0x2c: 0x0bda1028
[  226.365655] thunderbolt 0000:00:0d.2: save config 0x38: 0x00000000
[  226.365656] thunderbolt 0000:00:0d.3: save config 0x30: 0x00000000
[  226.365657] thunderbolt 0000:00:0d.2: save config 0x3c: 0x000001ff
[  226.365659] thunderbolt 0000:00:0d.3: save config 0x34: 0x00000080
[  226.365661] thunderbolt 0000:00:0d.3: save config 0x38: 0x00000000
[  226.365663] thunderbolt 0000:00:0d.3: save config 0x3c: 0x000001ff
[  226.366245] thunderbolt 0000:00:0d.2: PME# enabled
[  226.366424] thunderbolt 0000:00:0d.3: PME# enabled
[  226.370305] pcieport 10000:e0:06.2: PCI PM: Suspend power state: D3hot
[  226.370328] pcieport 10000:e0:06.0: PCI PM: Suspend power state: D3hot
[  226.370539] vmd 0000:00:0e.0: save config 0x00: 0xa77f8086
[  226.370551] vmd 0000:00:0e.0: save config 0x04: 0x00100406
[  226.370555] vmd 0000:00:0e.0: save config 0x08: 0x01040000
[  226.370560] vmd 0000:00:0e.0: save config 0x0c: 0x00800000
[  226.370565] vmd 0000:00:0e.0: save config 0x10: 0x02000004
[  226.370575] vmd 0000:00:0e.0: save config 0x14: 0x00000062
[  226.370581] vmd 0000:00:0e.0: save config 0x18: 0x72000000
[  226.370587] vmd 0000:00:0e.0: save config 0x1c: 0x00000000
[  226.370592] vmd 0000:00:0e.0: save config 0x20: 0x07900004
[  226.370596] vmd 0000:00:0e.0: save config 0x24: 0x00000062
[  226.370600] vmd 0000:00:0e.0: save config 0x28: 0x00000000
[  226.370603] vmd 0000:00:0e.0: save config 0x2c: 0x0bda1028
[  226.370607] vmd 0000:00:0e.0: save config 0x30: 0x00000000
[  226.370611] vmd 0000:00:0e.0: save config 0x34: 0x00000080
[  226.370615] vmd 0000:00:0e.0: save config 0x38: 0x00000000
[  226.370620] vmd 0000:00:0e.0: save config 0x3c: 0x00000000
[  226.375481] intel-lpss 0000:00:15.1: ACPI _REG disconnect evaluation failed (5)
[  226.375487] mei_me 0000:00:16.0: PCI PM: Suspend power state: D3hot
[  226.375908] intel-lpss 0000:00:15.0: ACPI _REG disconnect evaluation failed (5)
[  226.376162] proc_thermal_pci 0000:00:04.0: PCI PM: Suspend power state: D3hot
[  226.377183] intel-lpss 0000:00:15.1: power state changed by ACPI to D3hot
[  226.377277] intel-lpss 0000:00:15.1: PCI PM: Suspend power state: D3hot
[  226.377771] intel-lpss 0000:00:15.0: power state changed by ACPI to D3hot
[  226.378257] rtsx_pci 0000:06:00.0: PCI PM: Suspend power state: D3hot
[  226.378422] intel-lpss 0000:00:15.0: PCI PM: Suspend power state: D3hot
[  226.378448] pcieport 0000:00:1c.0: save config 0x00: 0x51bb8086
[  226.378607] pcieport 0000:00:1c.0: save config 0x04: 0x00100407
[  226.378656] pcieport 0000:00:1c.0: save config 0x08: 0x06040001
[  226.378707] pcieport 0000:00:1c.0: save config 0x0c: 0x00810000
[  226.378758] pcieport 0000:00:1c.0: save config 0x10: 0x00000000
[  226.378782] pcieport 0000:00:1c.0: save config 0x14: 0x00000000
[  226.378806] pcieport 0000:00:1c.0: save config 0x18: 0x00060600
[  226.378830] pcieport 0000:00:1c.0: save config 0x1c: 0x000000f0
[  226.378853] pcieport 0000:00:1c.0: save config 0x20: 0x75007500
[  226.378877] pcieport 0000:00:1c.0: save config 0x24: 0x0001fff1
[  226.378899] pcieport 0000:00:1c.0: save config 0x28: 0x00000000
[  226.378905] pcieport 0000:00:1c.0: save config 0x2c: 0x00000000
[  226.378935] pcieport 0000:00:1c.0: save config 0x30: 0x00000000
[  226.378958] pcieport 0000:00:1c.0: save config 0x34: 0x00000040
[  226.378982] pcieport 0000:00:1c.0: save config 0x38: 0x00000000
[  226.379006] pcieport 0000:00:1c.0: save config 0x3c: 0x000204ff
[  226.379534] pcieport 0000:00:1c.0: PME# enabled
[  226.379589] thunderbolt 0000:00:0d.2: ACPI _REG disconnect evaluation failed (5)
[  226.380218] xhci_hcd 0000:00:0d.0: ACPI _REG disconnect evaluation failed (5)
[  226.381101] thunderbolt 0000:00:0d.3: ACPI _REG disconnect evaluation failed (5)
[  226.382316] iwlwifi 0000:00:14.3: power state changed by ACPI to D3hot
[  226.382528] iwlwifi 0000:00:14.3: PCI PM: Suspend power state: D3hot
[  226.383140] vmd 0000:00:0e.0: ACPI _REG disconnect evaluation failed (5)
[  226.384467] xhci_hcd 0000:00:14.0: power state changed by ACPI to D3hot
[  226.384574] xhci_hcd 0000:00:14.0: PCI PM: Suspend power state: D3hot
[  226.384813] vmd 0000:00:0e.0: power state changed by ACPI to D3hot
[  226.384825] vmd 0000:00:0e.0: PCI PM: Suspend power state: D3hot
[  226.385180] xhci_hcd 0000:00:0d.0: power state changed by ACPI to D3cold
[  226.385191] xhci_hcd 0000:00:0d.0: PCI PM: Suspend power state: D3cold
[  226.391528] pcieport 0000:00:1c.0: ACPI _REG disconnect evaluation failed (5)
[  226.392369] pcieport 0000:00:1c.0: power state changed by ACPI to D3hot
[  226.392484] pcieport 0000:00:1c.0: PCI PM: Suspend power state: D3hot
[  226.395162] thunderbolt 0000:00:0d.2: power state changed by ACPI to D3cold
[  226.395172] thunderbolt 0000:00:0d.2: PCI PM: Suspend power state: D3cold
[  226.396283] thunderbolt 0000:00:0d.3: power state changed by ACPI to D3cold
[  226.396291] thunderbolt 0000:00:0d.3: PCI PM: Suspend power state: D3cold
[14916.770339] ACPI: EC: interrupt unblocked

-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
 
Home page: http://marc.merlins.org/                       | PGP 7F55D5F27AAF9D08




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux