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/
>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?
and battery?
$ cat /sys/power/mem_sleep
s2idle [deep]
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?
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.
_______________________________________________ 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/