You are not logged in.

#1 2022-10-15 22:42:24

itayf
Member
Registered: 2006-01-09
Posts: 30

Dell XPS 13 Plus (9320): Sleep only gets into S0i2 but not into S0i3

Hello,

I've installed Arch on my new Dell XPS 13 Plus (9320) 1280p version. 
I made sure to switch to AHCI in BIOS settings (As suggested here: https://wiki.archlinux.org/title/Dell_X … ower_usage ).

Using /sys/kernel/debug/pmc_core/substate_residencies I was able to verify that it gets into S0i2 while sleeping:

(Before any sleep)
# sudo cat /sys/kernel/debug/pmc_core/substate_residencies
Substate   Residency      
S0i2.0     0              

(After ~9.25 hours of sleep - 33782670256 / 1000000 / 3600 = 9.38)
# sudo cat /sys/kernel/debug/pmc_core/substate_residencies
Substate   Residency      
S0i2.0     33782670256    

I don't know if it means something, but while it was not sleeping, the residency of S0i2.0 did not change at all (/sys/kernel/debug/pmc_core/substate_residencies printed the same number between periods of sleep).

This changed after TLP installation (https://linrunner.de/tlp/installation/arch.html), which made the computer gets into S0i2 even when it is active, whenever I don't touch it for a few seconds:

(Run once to see the initial value)
# sudo cat /sys/kernel/debug/pmc_core/substate_residencies
Substate   Residency      
S0i2.0     72453177       

(Run again and again quickly many times for a few seconds - same result)
# sudo cat /sys/kernel/debug/pmc_core/substate_residencies
Substate   Residency      
S0i2.0     72453177       

(Waiting 2 seconds without touching the computer, then running again - the number goes up)
# sudo cat /sys/kernel/debug/pmc_core/substate_residencies
Substate   Residency      
S0i2.0     74272075       

So I guess I save more battery now even while using the computer, for it exits S0 and gets into S0i2 even without getting into sleep.


I wish to save more battery while sleeping - does anyone have any idea how could I make it get into S0i3 while sleeping?


Thanks,
Itay

Offline

Board footer

Powered by FluxBB