<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Unintended suspend"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102959">102959</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Unintended suspend
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>libinput
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jeremy9856@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Hello,
My HP Chromebook 14 (Falco) sometime go to sleep without any reason. I'm on
Fedora 26. I ran F23, F24, F25 without any problem in the past. The problem
occur with both John Lewis and MattDevo firmware. Seem to happen less with JL
firmware (only once that week).
It seem that there is fake "Lid closed" event...
<span class="quote">> sept. 12 19:59:30 hp systemd-logind[759]: Lid opened.
> sept. 12 19:59:30 hp systemd-logind[759]: Suspending...
> sept. 12 19:59:30 hp systemd-logind[759]: Lid closed.</span >
Of course my lid can be "broken" and send fake event but as I said it never
happened before I installed Fedora 26 and I tried to move the lid in all
possible way and I never managed to trigger a "fake" event.
Anyway these almost instant conflicting event should cancel them out. I mean
libinput (systemd ?) should wait a little bit (1s ?) before putting the pc into
suspend and this for 2 reasons. The first one to avoid unwanted behaviour like
this one. The second to prevent the pc to suspend itself if you change your
mind (eg. you close the lid to suspend it but reopen it almost instantaneously
to continue using it).
So there is a possible bug in libinput (or systemd or elsewhere but where ?)
that trigger these event without any reason and there is a possible improvement
to make to handle suspend event.
I also opened a bug report against systemd
<a href="https://github.com/systemd/systemd/issues/6900">https://github.com/systemd/systemd/issues/6900</a>
Thanks !</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>