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 battery getting down to 2% (I only tried to 4% originally), it
> did indeed hibernate. Although it then immediately resumed :-(
Resumed meaning it really "woke up", without your intervention like
pressing a key or so? If yes I'd check the journalctl logs, because
that seems a little strange to me.
Yep. I get a 'critical alert' notification on the screen at 2%, then
the screen goes dark, followed by several seconds of disk activity light
flashing, then the screen turns on again, and I'm back where I was.
All without user intervention.
I had a similar situation a few days ago: I ran down battery until
very low down. When the battery level was in what the system probably
saw as critical (45%, something like that), it started
sleep-hibernating (whatever the mix of these modes means), with
journalctl writing (excerpt):
Starting Hybrid Suspend+Hibernate...
and seconds later:
PM: Hibernation image created
Here's a stripped-down log:
May 28 22:23:16 robin systemd[1]: Starting Hybrid Suspend+Hibernate...
May 28 22:23:16 robin systemd-sleep[18493]: Suspending system...
May 28 22:23:16 robin kernel: PM: hibernation entry
May 28 22:23:16 robin kernel: PM: Syncing filesystems ...
May 28 22:23:16 robin kernel: PM: done.
May 28 22:23:30 robin kernel: Freezing user space processes ... (elapsed 0.003 seconds)
done.
May 28 22:23:30 robin kernel: OOM killer disabled.
May 28 22:23:30 robin kernel: PM: Marking nosave pages: [mem 0x00000000-0x00000fff]
[...25 similar lines...]
May 28 22:23:31 robin kernel: PM: Preallocating image memory... done (allocated 627744
pages)
May 28 22:23:31 robin kernel: PM: Allocated 2510976 kbytes in 2.26 seconds (1111.05 MB/s)
May 28 22:23:31 robin kernel: Freezing remaining freezable tasks ... (elapsed 0.001
seconds) done.
May 28 22:23:31 robin kernel: Suspending console(s) (use no_console_suspend to debug)
May 28 22:23:31 robin kernel: ACPI: EC: interrupt blocked
May 28 22:23:31 robin kernel: Disabling non-boot CPUs ...
May 28 22:23:31 robin kernel: smpboot: CPU 1 is now offline
May 28 22:23:31 robin kernel: smpboot: CPU 2 is now offline
May 28 22:23:31 robin kernel: smpboot: CPU 3 is now offline
May 28 22:23:31 robin kernel: smpboot: CPU 4 is now offline
May 28 22:23:31 robin kernel: smpboot: CPU 5 is now offline
May 28 22:23:31 robin kernel: smpboot: CPU 6 is now offline
May 28 22:23:31 robin kernel: smpboot: CPU 7 is now offline
May 28 22:23:31 robin kernel: PM: Creating hibernation image:
May 28 22:23:31 robin kernel: PM: Need to copy 623696 pages
May 28 22:23:31 robin kernel: PM: Normal pages needed: 623696 + 1024, available pages:
1443975
May 28 22:23:31 robin kernel: PM: Hibernation image created (623696 pages copied)
May 28 22:23:31 robin kernel: Enabling non-boot CPUs ...
May 28 22:23:31 robin kernel: x86: Booting SMP configuration:
May 28 22:23:31 robin kernel: smpboot: Booting Node 0 Processor 1 APIC 0x2
May 28 22:23:31 robin kernel: cache: parent cpu1 should not be sleeping
May 28 22:23:31 robin kernel: CPU1 is up
[...]
May 28 22:23:31 robin kernel: smpboot: Booting Node 0 Processor 7 APIC 0x7
May 28 22:23:31 robin kernel: cache: parent cpu7 should not be sleeping
May 28 22:23:31 robin kernel: CPU7 is up
May 28 22:23:31 robin kernel: ACPI: EC: interrupt unblocked
May 28 22:23:31 robin kernel: ath: phy0: ASPM enabled: 0x42
May 28 22:23:31 robin kernel: ACPI: button: The lid device is not compliant to SW_LID.
May 28 22:23:31 robin kernel: ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[... more ata... and image saving progress lines ...]
May 28 22:23:31 robin kernel: PM: Image saving done
May 28 22:23:31 robin kernel: PM: Wrote 2499660 kbytes in 4.12 seconds (606.71 MB/s)
May 28 22:23:31 robin kernel: PM: S|
May 28 22:23:31 robin kernel: Suspending console(s) (use no_console_suspend to debug)
May 28 22:23:31 robin kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
May 28 22:23:31 robin kernel: sd 0:0:0:0: [sda] Stopping disk
May 28 22:23:31 robin kernel: PM: suspend devices took 0.679 seconds
May 28 22:23:31 robin kernel: ACPI: EC: interrupt blocked
May 28 22:23:31 robin kernel: ACPI: Preparing to enter system sleep state S3
May 28 22:23:31 robin kernel: ACPI: EC: event blocked
May 28 22:23:31 robin kernel: ACPI: EC: EC stopped
May 28 22:23:31 robin kernel: PM: Saving platform NVS memory
May 28 22:23:31 robin kernel: Disabling non-boot CPUs ...
May 28 22:23:31 robin kernel: smpboot: CPU 1 is now offline
May 28 22:23:31 robin kernel: smpboot: CPU 2 is now offline
May 28 22:23:31 robin kernel: smpboot: CPU 3 is now offline
May 28 22:23:31 robin kernel: smpboot: CPU 4 is now offline
May 28 22:23:31 robin kernel: smpboot: CPU 5 is now offline
May 28 22:23:31 robin kernel: smpboot: CPU 6 is now offline
May 28 22:23:31 robin kernel: smpboot: CPU 7 is now offline
May 28 22:23:31 robin kernel: ACPI: Low-level resume complete
May 28 22:23:31 robin kernel: ACPI: EC: EC started
May 28 22:23:31 robin kernel: PM: Restoring platform NVS memory
May 28 22:23:31 robin kernel: Enabling non-boot CPUs ...
May 28 22:23:31 robin kernel: x86: Booting SMP configuration:
May 28 22:23:31 robin kernel: smpboot: Booting Node 0 Processor 1 APIC 0x2
May 28 22:23:31 robin kernel: cache: parent cpu1 should not be sleeping
May 28 22:23:31 robin kernel: CPU1 is up
NB - this laptop does a normal suspend/resume quite happily when closing
/opening lid.
--
That he said that that that that is is is debatable, is debatable.