Re: 4% battery; dpesn't suspend

2018-06-02 Thread Chris Murphy
Huh. So when hybrid suspend+hibernate happened, I had a randomly encrypted swap setup. So this obviously can't ever be recovered from, because the key is lost. Well, actually the key is in the image on encrypted swap. So the only copy of the key is encrypted. Ha. Anyway, after setting up an ordina

Re: 4% battery; dpesn't suspend

2018-06-02 Thread Chris Murphy
OK so I've run into this also on Fedora 28. (This is with the "sick" battery that Windows says is OK, and HP's battery checker says is OK. And yet at 18% battery and 45 minutes remaining it goes into "hibernation"). So what Fedora is doing is hybrid sleep. Jun 02 15:11:33 f28h.local systemd[1]: S

Re: 4% battery; dpesn't suspend

2018-06-02 Thread Tim via users
Allegedly, on or about 31 May 2018, sent: >> The usual method of hibernating is to dump the memory into the swap >> partition. I do not know what will happen if your swap partition >> is smaller than your RAM, though. Wolfgang Pfeiffer: > 32 GB of RAM here, swap space is just ~16 GB: my guess is

Re: 4% battery; dpesn't suspend

2018-05-31 Thread Wolfgang Pfeiffer
On Wed, May 30, 2018 at 10:15:51AM +0930, Tim via users wrote: > Allegedly, on or about 29 May 2018, Wolfgang Pfeiffer sent: > > The logs here are interesting anyways, and I'm still wondering where > > the system actually saved the image: in /tmp, or swap partition? > > The usual method of hiberna

Re: 4% battery; dpesn't suspend

2018-05-31 Thread Wolfgang Pfeiffer
On Wed, May 30, 2018 at 08:44:36AM +0100, Dave Mitchell wrote: > On Tue, May 29, 2018 at 08:12:39PM +0200, Wolfgang Pfeiffer wrote: > > > > On Mon, May 28, 2018 at 10:38:58PM +0100, Dave Mitchell wrote: > > > On Tue, Apr 17, 2018 at 10:26:22PM +0200, Wolfgang Pfeiffer wrote: > > > OP here - my UPo

Re: 4% battery; dpesn't suspend

2018-05-30 Thread Dave Mitchell
On Tue, May 29, 2018 at 08:12:39PM +0200, Wolfgang Pfeiffer wrote: > > On Mon, May 28, 2018 at 10:38:58PM +0100, Dave Mitchell wrote: > > On Tue, Apr 17, 2018 at 10:26:22PM +0200, Wolfgang Pfeiffer wrote: > > OP here - my UPower settings are the same as yours, and when I found time > > to risk my

Re: 4% battery; dpesn't suspend

2018-05-29 Thread Tim via users
Allegedly, on or about 29 May 2018, Wolfgang Pfeiffer sent: > The logs here are interesting anyways, and I'm still wondering where > the system actually saved the image: in /tmp, or swap partition? The usual method of hibernating is to dump the memory into the swap partition. I do not know what w

Re: 4% battery; dpesn't suspend

2018-05-29 Thread Wolfgang Pfeiffer
On Mon, May 28, 2018 at 10:38:58PM +0100, Dave Mitchell wrote: > On Tue, Apr 17, 2018 at 10:26:22PM +0200, Wolfgang Pfeiffer wrote: > > I'm getting curious about your settings, if that's not too intrusive: > > mine are, with comments removed: > > > > --

Re: 4% battery; dpesn't suspend

2018-05-28 Thread Dave Mitchell
On Tue, Apr 17, 2018 at 10:26:22PM +0200, Wolfgang Pfeiffer wrote: > On Tue, 17 Apr 2018 10:53:09 -0700 > Samuel Sieb wrote: > > > On 04/17/2018 04:55 AM, Wolfgang Pfeiffer wrote: > > >Trying 'upower -d' here results in the display of current power > > > settings ... > > > > So that's why

Re: 4% battery; dpesn't suspend

2018-04-17 Thread Wolfgang Pfeiffer
On Tue, 17 Apr 2018 22:26:22 +0200 Wolfgang Pfeiffer wrote: > And that looks really interesting: > https://www.kernel.org/doc/Documentation/admin-guide/pm/sleep-states.rst Forgot that one: https://www.kernel.org/doc/Documentation/power/swsusp.txt Sorry, Wolfgang

Re: 4% battery; dpesn't suspend

2018-04-17 Thread Wolfgang Pfeiffer
On Tue, 17 Apr 2018 10:53:09 -0700 Samuel Sieb wrote: > On 04/17/2018 04:55 AM, Wolfgang Pfeiffer wrote: > >Trying 'upower -d' here results in the display of current power > > settings ... > > So that's why mine works. The output includes this line: > critical-action: HybridSleep > > I d

Re: 4% battery; dpesn't suspend

2018-04-17 Thread Samuel Sieb
On 04/17/2018 04:55 AM, Wolfgang Pfeiffer wrote: Trying 'upower -d' here results in the display of current power settings ... So that's why mine works. The output includes this line: critical-action: HybridSleep I do wonder what starts it up. The service is disabled although the default

Re: 4% battery; dpesn't suspend

2018-04-17 Thread Wolfgang Pfeiffer
On Mon, 16 Apr 2018 08:41:56 +0100 Dave Mitchell wrote: > F27. I ran a new laptop battery down to 4% (as claimed by gnome) and my > laptop didn't auto-suspend, nor hibernate. I'm not that familiar with power settings on Fedora (having F26 here). But a look at upower.service might be useful - m

Re: 4% battery; dpesn't suspend

2018-04-16 Thread Danny Horne via users
On 16/04/18 08:41, Dave Mitchell wrote: > F27. I ran a new laptop battery down to 4% (as claimed by gnome) and my > laptop didn't auto-suspend, nor hibernate. > > In settings / power, the only option for battery power these days seems to > be to automatically suspend after a set time period; not at

Re: 4% battery; dpesn't suspend

2018-04-16 Thread Samuel Sieb
On 04/16/2018 12:41 AM, Dave Mitchell wrote: F27. I ran a new laptop battery down to 4% (as claimed by gnome) and my laptop didn't auto-suspend, nor hibernate. I was very surprised a few days ago when I left my laptop unplugged and came back to find it powered off. I was expecting that it had

4% battery; dpesn't suspend

2018-04-16 Thread Dave Mitchell
F27. I ran a new laptop battery down to 4% (as claimed by gnome) and my laptop didn't auto-suspend, nor hibernate. In settings / power, the only option for battery power these days seems to be to automatically suspend after a set time period; not at a certain battery level. So a) did I imagine i