Do not suspend device when a video is playing

Bug #1239206 reported by Jean-Baptiste Lallement
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QtDeclarative bindings for Powerd
Fix Released
Undecided
Ricardo Mendoza
mediaplayer-app
Fix Released
Undecided
Ricardo Mendoza
mediaplayer-app (Ubuntu)
Fix Released
High
Loïc Minier

Bug Description

When a video is playing the device shouldn't suspend and stop playing

TEST CASE:
1. Play a video that is longer than the inactivity time before the device suspends
2. Watch the video

EXPECTED RESULT
Device doesn't suspend while the video is playing

ACTUAL RESULT
Device suspends and video stops playing.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: mediaplayer-app 0.20.5+13.10.20131007-0ubuntu1
Uname: Linux 3.4.0-3-mako armv7l
ApportVersion: 2.12.5-0ubuntu2
Architecture: armhf
Date: Sat Oct 12 22:51:58 2013
InstallationDate: Installed on 2013-10-12 (0 days ago)
InstallationMedia: Ubuntu Saucy Salamander (development branch) - armhf (20131012)
MarkForUpload: True
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
SourcePackage: mediaplayer-app
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
tags: added: rls-s-incoming
Changed in mediaplayer-app (Ubuntu):
importance: Undecided → High
Revision history for this message
Loïc Minier (lool) wrote :

So this is similar but not identical to what music-app did.

There's a qtpowerd source package in the coreapps-drivers daily PPA that will wrap Powerd's requestSysState API; for mediaplayer-app we need some similar wrapper for requestDisplayState API.

So we need to add this feature to qtpowerd, move qtpowerd from PPA to archive, use the feature in mediaplayer-app.

There's currently some music-app hardcoding in qtpowerd too.

Revision history for this message
Loïc Minier (lool) wrote :

ricmm is taking a look; thanks!

Changed in qtpowerd:
assignee: nobody → Ricardo Mendoza (ricmm)
Changed in mediaplayer-app:
assignee: nobody → Ricardo Mendoza (ricmm)
Revision history for this message
Loïc Minier (lool) wrote :

Fixed with 0.2+13.10.20131014.3-0ubuntu1 of qtdeclarative5-qtpowerd0.1 and 0.20.5+13.10.20131015.1-0ubuntu1 of mediaplayer-app.

Changed in mediaplayer-app (Ubuntu):
status: New → Fix Committed
Changed in mediaplayer-app:
status: New → Fix Released
Changed in qtpowerd:
status: New → Fix Released
Changed in mediaplayer-app (Ubuntu):
assignee: nobody → Loïc Minier (lool)
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.