atom / teletype

Share your workspace with team members and collaborate on code in real time in Atom
https://teletype.atom.io
MIT License
2.41k stars 322 forks source link

Connecting to teletype peer inhibits power setting, even after leaving #553

Open glenntanner3 opened 4 years ago

glenntanner3 commented 4 years ago

Prerequisites

Description

After connecting to a peer, power savings (screensaver) is blocked. After 'leaving' peer, inhibition remains. I'd like the option to disable this completely, as even if I am connected I still want my screensaver to come on, lock my system, and power off my monitors.

Steps to Reproduce

  1. Connect to peer

Expected behavior:

Connecting to peer shouldn't disable my power settings.

Actual behavior:

After connecting to a peer, power savings (screensaver) is blocked. After 'leaving' peer, inhibition remains.

Jul 02 07:34:35 glenn-arch org_kde_powerdevil[1301]: powerdevil: Scheduling inhibition from ":1.853" "/usr/bin/electron5" with cookie 386 and reason "WebRTC has active PeerConnections"
Jul 02 07:34:40 glenn-arch org_kde_powerdevil[1301]: powerdevil: Enforcing inhibition from ":1.853" "/usr/bin/electron5" with cookie 386 and reason "WebRTC has active PeerConnections"
Jul 02 07:34:40 glenn-arch org_kde_powerdevil[1301]: powerdevil: Added interrupt session

Reproduces how often:

Every time a teletype peer connection is made.

Versions

glennt@glenn-arch::/home/glennt
$ atom --version
Atom    : 1.48.0
Electron: 5.0.13
Chrome  : 73.0.3683.121
Node    : 12.0.0
glennt@glenn-arch::/home/glennt
$ apm --version
apm  2.5.0
npm  6.14.5
node 14.5.0 x64
atom 1.48.0
python 3.8.3
git 2.27.0
glennt@glenn-arch::/home/glennt
$ uname -a
Linux glenn-arch 5.7.6-arch1-1 #1 SMP PREEMPT Thu, 25 Jun 2020 00:14:47 +0000 x86_64 GNU/Linux

Additional Information