3

I remember on my old Macbook, when I closed the lid, I could open it one week later and it lost a few percentage points of energy over the week (about 10%).

When I do this with my xps13, the first problem is, that it doesn't really go to standby, when I close the lid, so I have to do the process manually.

  1. Click the lock symbol: enter image description here

  2. Now the power LED is still on: enter image description here

  3. So I have to move the mouse again to end the black screen then press the pause button enter image description here

As I took the picture I had 66% again, but it was at 55%, so I have lost 45% of energy in only ONE night in standby! So whats the trick here? Is there a feature to keep the energy in standby mode for 1-2 weeks or is this not possible with Ubuntu?

PS: I have also to mention that on Ubuntu I have closed ALL programs before activating the standby mode. On the Macbook I had about 10-20 programs open before just closing the lid and putting it to standby automatically.

From comments:

cat /sys/power/mem_sleep

results in

[s2idle] deep
Rinzwind
  • 309,379
sunwarr10r
  • 1,457
  • 4
  • 20
  • 33

1 Answers1

3

In your case "s2idle" sleep mode is active and intended but you probably should have "deep" active. There is a bug with the s2idle mode. This should be fixed with kernel version 5.3. To switch to deep sleep mode, do

sudo nano /etc/default/grub

and change

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

with

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem_sleep_default=deep"

and reload it with

sudo update-grub

Then reboot and try suspend again. You can do these from command line:

systemctl suspend

and/or

systemctl hibernate
pomsky
  • 70,557
Rinzwind
  • 309,379