Opened 11 years ago
Last modified 9 years ago
#3417 new enhancement
Spirolaterals should ask OLPC builds not to suspend while drawing
Reported by: | greenfeld | Owned by: | garycmartin |
---|---|---|---|
Priority: | Unspecified by Maintainer | Milestone: | Unspecified |
Component: | ActivityTeam | Version: | Unspecified |
Severity: | Unspecified | Keywords: | |
Cc: | Distribution/OS: | OLPC | |
Bug Status: | Unconfirmed |
Description
The Spirolaterals activity should ask OLPC Fedora-based builds not to suspend while its drawing routine is active.
Since it takes more than 15 seconds to complete a drawing cycle based on many user-entered patterns, and drawing is done in a step/pause/step manner which doesn't use much CPU, a XO laptop can decide to suspend before the completed image is drawn.
This can be done by created a PID-based flag file when the playback routine is started, and removing said file when drawing is stopped or completed.
Seen with Spirolaterals-23 & OLPC OS 11.3.1 os31 on XO-1.5.
Change History (2)
comment:1 Changed 11 years ago by sascha_silbe
comment:2 Changed 9 years ago by godiard
Now can use the inhibit suspend routines in the toolkit
Note: See
TracTickets for help on using
tickets.
Just to make sure: it should do this whenever powerd is available (i.e. /var/run/powerd-inhibit-suspend/ exists), not just on OLPC OS.