multiple caffeinated processes: suspends after first completes
Bug #1660605 reported by
Andreas E.
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Caffeine |
Opinion
|
Undecided
|
Unassigned | ||
caffeine (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
When running multiple processes with the `caffeinate` command, the computer suspends already after the first command completes, not after the last. As a result, when waking up the computer again, the other processes have not yet completed and need (again) more hours to finish.
Example workflow:
Gnome-terminal with four tabs
caffeine 2.8.3-3build1
Ubuntu 16.10 64bit
Changed in caffeine: | |
status: | New → Incomplete |
status: | Incomplete → Opinion |
Changed in caffeine (Ubuntu): | |
status: | Confirmed → Incomplete |
To post a comment you must log in.
Ack, makes sense that this happens — the first caffeination apparently enables the screensaver at its end, leading to a suspend. It should probably do something like a non-binary lock counter, so that only when the last process ends, caffeination ends.