Ticket #3417 (new enhancement)

Opened 15 months ago

Last modified 15 months ago

Spirolaterals should ask OLPC builds not to suspend while drawing

Reported by: greenfeld Owned by: garycmartin
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
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

Changed 15 months ago by sascha_silbe

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.

Note: See TracTickets for help on using tickets.