Score:0

Suspend with only s2idle

bt flag

I have a HP Spectre x360 14-ea0838no which does not do suspend.

I tried the tricks in this post: Ubuntu 18.04 - Dell XPS13 9370 no longer suspends on lid close But I'm not on a Dell.

I found out that I can do this command:

echo freeze > /sys/power/state

Then it actually does a kind of suspend. It is not deep, but at least it is turning of things.

Question, how do I make closing of the lid do this command?

It is hard to say what is happening in the screen when closing the lid, but pinging the computer reveals that the computer is still active.

The suspend menu is working, when using that pinging stops. Then the lid can be closed, and as soon as I open the lid, it all becomes active.

I just need closing of the lid to do the same trick.

waltinator avatar
it flag
It's easy to "say what is happening". Do `date '+%y-%m-%d %H:%M:%S' >spike.txt`. Close the lid, wait a few minutes, Open the lid. Do `date '+%y-%m-%d %H:%M:%S' >endspike.txt`. Then, `sudo journalctl --since="$(cat spike.txt)" --before="$(cat endspike.txt)"`. This will let you page through (like `less` or `more`) all the logs between the two times. Some of the many, many log lines relate to your "event".
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.