public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Theodore Y. Ts'o" <tytso@mit.edu>
To: Tom Cook <tom.k.cook@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Power management - HP 15-ds0502na
Date: Mon, 4 Nov 2019 10:06:48 -0500	[thread overview]
Message-ID: <20191104150648.GG28764@mit.edu> (raw)
In-Reply-To: <CAFSh4UxquUDSbw+JA1t=VBpe1yn+ar3MjsFbJP9bRo5a3BWAnw@mail.gmail.com>

On Mon, Nov 04, 2019 at 02:32:30PM +0000, Tom Cook wrote:
> s2idle sort of works - the thing appears to go to sleep and wake up
> okay - but the power savings are not really enough to make it
> worthwhile.  Putting it into s2idle state and putting it in a bag
> results in a very hot laptop - and of course that makes battery life
> not great.  I'm guessing this is the Ryzen 7 CPU idle states not being
> very well supported?

Actually, it's probably because one of the device drives isn't
properly putting that particular device into a low power state.  When
I was trying to make s2idle work on the XPS 13, there was needed patch
to make the SATA AHCI controller go into a lower power state.  This
was a patch which the Dell folks had gotten into their special
"Optimized for Dell laptops" Ubuntu kernel that was running into
resistance upstream.  I *think* that patch finally made it upstream,
but to be honest, I haven't been keeping track since I decided "life
was too short to fight and make s2idle work".

I probably should see if newer kernels have fixed some of these
issues, since the XPS13 is currently my preferred laptop, and I worry
that future models will drop suspend-to-ram, since Windows 10 is using
s2idle, and so the incentive for laptop manufacturers to support
suspend-to-ram is almost non-existent, especially now that Windows XP
and Windows 7 have moved to the great deprecation bitbucket in the
sky....  :-(

      	     	   	       		    - Ted

  reply	other threads:[~2019-11-04 15:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-04 11:21 Power management - HP 15-ds0502na Tom Cook
2019-11-04 13:51 ` Theodore Y. Ts'o
2019-11-04 14:32   ` Tom Cook
2019-11-04 15:06     ` Theodore Y. Ts'o [this message]
2019-11-04 15:45       ` Theodore Y. Ts'o

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191104150648.GG28764@mit.edu \
    --to=tytso@mit.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tom.k.cook@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox