Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't inhibit suspend when seeding #4592

Closed
polochamps opened this issue Jan 19, 2016 · 10 comments
Closed

Doesn't inhibit suspend when seeding #4592

polochamps opened this issue Jan 19, 2016 · 10 comments

Comments

@polochamps
Copy link

Ubuntu 16.04
qbittorrent 3.3.1
System still goes to suspend when seeding.
Inhibit Sleep/Suspend feature only works during downloads.

@Snurre86
Copy link

Do you know if it goes to sleep when torrents are in seeding/downloading status but no activity? If it blocks sleep only when there is network activity not just torrent status?

@polochamps
Copy link
Author

Do you know if it goes to sleep when torrents are in seeding/downloading status but no activity?

  • Yes. Seeding with peers but no upload activity.

If it blocks sleep only when there is network activity not just torrent status?

  • I'd like to think that is the case but this wasn't happening before even if there was no activity as long as it is "seeding" the inhibit of sleeping works.

Just for comparison, I just tried the same torrent (seeding with no upload activity) with Transmission and the inhibit feature works.

@Snurre86
Copy link

Well the system would never go to sleep if you have a few hundred torrents as there would always be (active) torrents without network traffic, but I guess that setting would not be for people with that many torrents?

@fohrums
Copy link

fohrums commented Feb 29, 2016

qbittorrent_3.3.3
windows7_x64_homepremium

I'm also unable to prevent sleep using qBittorrent even after enabling:

  • Tools > Options > Behavior
    • [ x ] Inhibit system sleep when torrents are active

DIAGNOSTIC (on Windows)

How to know if prevent sleep isn't working?

  1. Launch qBittorrent
  2. Enable Inhibit system sleep when torrents are active
  3. Have an active download status running (dl something).

Afterwards run powercfg -requests...

$ powercfg -requests
DISPLAY:
None.

SYSTEM:
None.

AWAYMODE:
None.

If it does work it'll show the following (but it doesn't always necessarily work. It's definitely a hit or miss, you have to be lucky for it to work)...

$ powercfg -requests
DISPLAY:
None.

SYSTEM:
[DRIVER] High Definition Audio Device (HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_10438445&REV_1003\4&3ad857fa&0&0001)
An audio stream is currently in use.
[PROCESS] \Device\HarddiskVolume5\download\internet\qBittorrent\_file\qbittorrent.exe

AWAYMODE:
None.

NOTE

  • The option to prevent sleep within qBittorrent may work only after a fresh install (it appeared in powercfg -requests the 1st-time around). The problem is now it's NOT showing up at all.
  • I can't find a reason why it only sometimes works.

@SamP87
Copy link

SamP87 commented Apr 5, 2016

Is there any way to fix this? I've been trying everything, but my computer still enters sleep mode with active torrents.

@polochamps
Copy link
Author

Any updates on this? I'm on Windows 10 running qbittorrent 3.3.5.

@Theriad
Copy link

Theriad commented Jul 17, 2016

Running 3.3.5 on Windows 7-64 bit. Computer went to sleep overnight whilst downloading a torrent.

@Ramon-Zarat
Copy link

Win7-64 running V3.3.7 with only 2 seeds, but no network activity = goes to sleep. This is unacceptable. Should go to sleep ONLY when ALL torrent are in "Completed" state, which is the expected behavior and the behavior of other Torrent client.

There is a reason why you want to prevent the computer to go to sleep: To make sure that if and when a peer shows up, your client is ready to share. Sharing is impossible while sleeping... I expect my Torrent client to go to sleep only if there is no transfer possible = all torrent are turned off ("Complete" state).

Now I have 2 choices: Manually turning sleep off every time I want to torrent stuff with Qbittorrent OR go back to uTorrent...

@Madeupname722
Copy link

This is my first time trying qBittorrent. I'm not too impressed so far :(

Win7x64 Actively downloading over 1MB/s and PC goes to sleep :(

This is pretty basic torrent client stuff.

Couchy pushed a commit to Couchy/qBittorrent that referenced this issue Aug 3, 2018
"Active torrents" is a somewhat unintuitive concept as a basis for
preventing sleep, as torrents can become active or inactive on the
network at any time. This brings some predictability to the inhibit
sleep option, and will inhibit sleep as long as there are unpaused
downloads or uploads, regardless of network activity.

Closes qbittorrent#1696, qbittorrent#4592, qbittorrent#4655, qbittorrent#7019, qbittorrent#7159, qbittorrent#7452
sledgehammer999 pushed a commit that referenced this issue Aug 12, 2018
"Active torrents" is a somewhat unintuitive concept as a basis for
preventing sleep, as torrents can become active or inactive on the
network at any time. This brings some predictability to the inhibit
sleep option, and will inhibit sleep as long as there are unpaused
downloads or uploads, regardless of network activity.

Closes #1696, #4592, #4655, #7019, #7159, #7452
@ngosang
Copy link
Member

ngosang commented Sep 16, 2018

Duplicate of #7452

@ngosang ngosang marked this as a duplicate of #7452 Sep 16, 2018
@ngosang ngosang closed this as completed Sep 16, 2018
@qbittorrent qbittorrent locked and limited conversation to collaborators Mar 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants