Skip to content

[Bug]: teams-for-linux prevents sleep #1879

@leflamm

Description

@leflamm

Can you reproduce this bug in the website/PWA?

No

Describe the bug

Sometimes cannot put my computer go to sleep because teams-for-linux inhibits with reason "Application cleanup before suspend"

What package are you using?

deb

Version

2.2.1

Reproduction steps

Happens once or twice a week, so once or twice every ~50 attempts to put computer to sleep.

1. Try to get your computer to sleep (in my case Lenovo ThinkPad P1 Gen 4i, Ubuntu 25.04) -> Computer does not go to sleep
2. Find out inhibitors, run `dbus-send --print-reply --dest=org.gnome.SessionManager /org/gnome/SessionManager org.gnome.SessionManager.GetInhibitors` (Example output: `/org/gnome/SessionManager/Inhibitor1641`)
3. Look up specific inhibitor, run `dbus-send --print-reply --dest=org.gnome.SessionManager /org/gnome/SessionManager/Inhibitor1641 org.gnome.SessionManager.Inhibitor.GetAppId` (Example output: `string "/opt/teams-for-linux/teams-for-linux"`)
4. Check for reason, run `systemd-inhibit --list` (output could contain reason "Application cleanup before suspend")
5. quit `teams-for-linux`
6. try again to put computer to sleep -> works

Expected Behavior

teams-for-linux would not prevent my computer to go to sleep

Debug

Error not reproducible on freshly-stared application

Additional context

No response

Metadata

Metadata

Labels

bugSomething isn't working

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions