Public bug reported:
To reproduce:
1. Install Ubuntu 18.04 on a laptop
2. Create two user accounts
3. Login to the first account and switch to the second account
4. Disconnect the power plug and work (while on the battery) from one (or the
other) account for some time (more than 20 minutes which is default according
to the "gsettings get org.gnome.settings-daemon.plugins.power
sleep-inactive-battery-timeout" CLI command)
5. When switching a user back to the other account, it will automatically
suspend the laptop.
Workaround:
For each(!) user disable "Automatic suspend" in the Power settings or same with
the CLI command:
gsettings set org.gnome.settings-daemon.plugins.power
sleep-inactive-battery-type 'nothing'
Bug?
I think it is as having the multiuser session, switching back to the
background user it should not immediately force the laptop sleep due to
the background user inactivity.
How to solve it?
gnome-settings-daemon should probably not take into account the
inactivity timer (or rather reset it) when there are other foreground
users are using Ubuntu.
** Affects: gnome-settings-daemon (Ubuntu)
Importance: Undecided
Status: New
** Tags: bionic xenial
** Summary changed:
- Ubuntu automatically suspends the laptop for the background user when
switching back to it from the other user.
+ Ubuntu automatically suspends the laptop for the background user when
switching back to it from the foreground user.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/1779871
Title:
Ubuntu automatically suspends the laptop for the background user when
switching back to it from the foreground user.
Status in gnome-settings-daemon package in Ubuntu:
New
Bug description:
To reproduce:
1. Install Ubuntu 18.04 on a laptop
2. Create two user accounts
3. Login to the first account and switch to the second account
4. Disconnect the power plug and work (while on the battery) from one (or the
other) account for some time (more than 20 minutes which is default according
to the "gsettings get org.gnome.settings-daemon.plugins.power
sleep-inactive-battery-timeout" CLI command)
5. When switching a user back to the other account, it will automatically
suspend the laptop.
Workaround:
For each(!) user disable "Automatic suspend" in the Power settings or same
with the CLI command:
gsettings set org.gnome.settings-daemon.plugins.power
sleep-inactive-battery-type 'nothing'
Bug?
I think it is as having the multiuser session, switching back to the
background user it should not immediately force the laptop sleep due
to the background user inactivity.
How to solve it?
gnome-settings-daemon should probably not take into account the
inactivity timer (or rather reset it) when there are other foreground
users are using Ubuntu.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1779871/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp