Re: suspends shutdowns system instead of suspending

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Sat, Jul 21, 2018 at 9:26 AM Ed Greshko <ed.greshko@xxxxxxxxxxx> wrote:
On 07/21/18 11:09, Sudhir Khanger wrote:
>
> I am on Fedora 28. I have tried every kernel update
> from  4.17.4-200.fc28.x86_64to 4.17.7-200.fc28.x86_64 (from updates-testing). None
> of them can suspend on battery. When connected to power suspend works just fine.


I've got an old Acer laptop that can survive on its ancient battery for about 45 minutes.

I just tested it with 4.17.7-200.fc28.x86_64 and it immediately went into suspend to
RAM when I unplugged power since I forgot to raise the lid.  It also went into
suspend when I test by doing echo mem > /sys/power/state.

If you cat /sys/power/mem_sleep and state are the different from when they are mains
and battery?

When on battery, if you "echo mem > /sys/power/state" does it also fail to suspend?

I use KDE and in its "Power Management" it has the ability to select what to do if
the lid is closed.  The choices can be different for Battery and Plugged In.  Does
your Desktop Environment also allow for differences?

--
Conjecture is just a conclusion based on incomplete information. It isn't a fact.

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/Z3B4MVSPV7G7GMZFEB6HFI3TXH4P6ARQ/

I am also on KDE. Suspend to RAM doesn't work on battery. Until this problem is mitigated I am using hybrid sleep for now which done both Suspend to RAM and Suspend to Disk. The former is used to wake up the system if the device is connected to an AC adapter and the latter is used if it is on the battery.

>When on battery, if you "echo mem > /sys/power/state" does it also fail to suspend?

echo mem > /sys/power/state - this suspended and then didn't wake up.

>If you cat /sys/power/mem_sleep and state are the different from when they are mains
and battery?

$ cat /sys/power/mem_sleep
s2idle [deep]


mem_sleep has the above output irrespective of the power state.

>I use KDE and in its "Power Management" it has the ability to select what to do if
the lid is closed.  The choices can be different for Battery and Plugged In.  Does
your Desktop Environment also allow for differences?

Lid is not an issue. You can suspend however you want but the end result is the same. It doesn't wake up. It starts as a fresh boot.

--
Regards,
Sudhir Khanger,
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/FXU5UDUFIQZWSROIWFLBHBK7WBA5ZMXU/
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux