I have the exact same device as the OP and followed the same upgrade
path. Prior to upgrading to Focal, suspend used deep sleep. Now it uses
s2idle, with considerable adverse effects on battery life.

Cutting and pasting from journalctl output:

...
Apr 01 12:20:47 XPS-13-linux kernel: PM: suspend entry (deep)
Apr 01 14:00:23 XPS-13-linux kernel: PM: suspend exit
Apr 01 17:40:10 XPS-13-linux kernel: PM: suspend entry (deep)
Apr 01 18:51:04 XPS-13-linux kernel: PM: suspend exit
Apr 04 19:37:39 XPS-13-linux kernel: PM: suspend entry (s2idle)
Apr 04 21:21:08 XPS-13-linux kernel: PM: suspend exit
Apr 04 22:15:33 XPS-13-linux kernel: PM: suspend entry (s2idle)
Apr 05 05:03:52 XPS-13-linux kernel: PM: suspend exit
Apr 05 11:35:00 XPS-13-linux kernel: PM: suspend entry (s2idle)
Apr 05 12:21:48 XPS-13-linux kernel: PM: suspend exit
Apr 05 12:40:56 XPS-13-linux kernel: PM: suspend entry (s2idle)
Apr 05 13:58:44 XPS-13-linux kernel: PM: suspend exit
Apr 05 14:44:53 XPS-13-linux kernel: PM: suspend entry (s2idle)
Apr 05 15:23:53 XPS-13-linux kernel: PM: suspend exit

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1860390

Title:
  Dell XPS 13 (9360) defaults to s2idle sleep/suspend instead of deep
  (suspend to ram)

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  This is a reintroduction of
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1808957 which I
  am experiencing with Ubuntu 20.04 fully upgraded on a Dell XPS 13
  9360. This did not happen before  in Ubuntu 19.04 nor in Ubuntu 19.10
  (Eoan), so this issue is affecting Ubuntu kernels >= 5.4.

  It seems that the Dell 9360 is set to go into s2idle mode rather than
  deep sleep, forgoing significant power savings.

  I have confirmed this by suspending and then checking:
  sudo journalctl | grep "PM: suspend" | tail -2. If the output is

  PM: suspend entry (s2idle)
  PM: suspend exit

  cat /sys/power/mem_sleep showed

  [s2idle] deep

  As a temporary fix, I typed
  echo deep > /sys/power/mem_sleep
  as a root user (sudo -i).

  Then the output of cat /sys/power/mem_sleep was
  s2idle [deep]

  After suspending now,
  sudo journalctl | grep "PM: suspend" | tail -2 returns

  PM: suspend entry (deep)
  PM: suspend exit

  I have made this permanent by editing
  /etc/default/grub

  and replacing
  GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  with
  GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem_sleep_default=deep"

  then regenerating my grub configuration (sudo update-grub).
  ---
  ProblemType: Bug
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 
k5.4.0-9-generic.
  ApportVersion: 2.20.11-0ubuntu15
  Architecture: amd64
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: PCH [HDA Intel PCH], device 0: ALC3246 Analog [ALC3246 Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  user       1570 F.... pulseaudio
  Card0.Amixer.info:
   Card hw:0 'PCH'/'HDA Intel PCH at 0xdc228000 irq 131'
     Mixer name : 'Realtek ALC3246'
     Components : 'HDA:10ec0256,1028075b,00100002 
HDA:8086280b,80860101,00100000'
     Controls      : 55
     Simple ctrls  : 17
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 20.04
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 002: ID 8087:0a2b Intel Corp.
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Lsusb-t:
   /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
   /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
       |__ Port 3: Dev 2, If 0, Class=Wireless, Driver=btusb, 12M
       |__ Port 3: Dev 2, If 1, Class=Wireless, Driver=btusb, 12M
  MachineType: Dell Inc. XPS 13 9360
  Package: linux (not installed)
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-5.4.0-9-generic 
root=UUID=be0fafa9-2c93-4717-bc39-06d8bbf0a232 ro rootflags=subvol=@ 
resume=UUID=9b786c9e-5b9c-4651-bc7a-85faf191166c quiet splash i915.enable_psr=2 
i915.enable_fbc=1 i915.enable_psr=2 i915.enable_fbc=1 mem_sleep_default=deep 
vt.handoff=7
  ProcVersionSignature: Ubuntu 5.4.0-9.12-generic 5.4.3
  RelatedPackageVersions:
   linux-restricted-modules-5.4.0-9-generic N/A
   linux-backports-modules-5.4.0-9-generic  N/A
   linux-firmware                           1.184
  Tags:  focal
  Uname: Linux 5.4.0-9-generic x86_64
  UnreportableReason: This report is about a package that is not installed.
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: cdrom lp lpadmin plugdev sudo
  WifiSyslog:

  _MarkForUpload: False
  dmi.bios.date: 11/14/2019
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 2.13.0
  dmi.board.name: 04N87K
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr2.13.0:bd11/14/2019:svnDellInc.:pnXPS139360:pvr:rvnDellInc.:rn04N87K:rvrA00:cvnDellInc.:ct9:cvr:
  dmi.product.family: XPS
  dmi.product.name: XPS 13 9360
  dmi.product.sku: 075B
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860390/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to