After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 767985 - System immediately suspends after log-out / lock on tablet device
System immediately suspends after log-out / lock on tablet device
Status: RESOLVED OBSOLETE
Product: gnome-settings-daemon
Classification: Core
Component: power
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2016-06-23 19:29 UTC by Stephen
Modified: 2019-03-20 11:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stephen 2016-06-23 19:29:15 UTC
On my Surface 3 tablet, when logging out the user, the device immediately suspends.
I believe this is due to the feature that will suspend the system when the display is made blank on tablet devices.

What I would expect in either case is for the lock or login screen to be
displayed, and then perhaps after a short idle timeout the screen would be blanked and suspending may occur - basically user activity could prevent or postpone the automatic suspend.

I feel this is important to adjust because as a user, when I perform an action, I do not want my device to immediately suspend while I am interacting with it - I could be trying to switch users for example. It doesn't really matter the use case, the device should not be told to go to sleep while it is in use - and logging out or locking the screen is not a reliable indicator that the device is not being used.
Comment 1 Bastien Nocera 2016-06-24 02:52:01 UTC
Trying adding CHASSIS=laptop to /etc/machine-info and let me know whether that fixes the problem.
Comment 2 Stephen 2016-06-24 02:59:51 UTC
After setting CHASSIS=laptop, the machine no longer immediately suspends when logging out, locking the tablet, or selecting "switch users" from the menu.
Comment 3 Bastien Nocera 2016-06-24 03:22:52 UTC
There's probably a bug around that section of the code then :/
Comment 4 Bastien Nocera 2016-08-08 18:34:46 UTC
It doesn't suspend when logging out on my Surface 3.
Comment 5 Stephen 2016-08-08 19:37:26 UTC
I can't seem to reproduce on log-out either anymore, but the switch user / lock case still seems affected.
Comment 6 GNOME Infrastructure Team 2019-03-20 11:35:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/299.