Setup Session inhibition to prevent automatic shutdown

Bug #1445780 reported by jurosh
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Audience
Fix Released
Low
Felipe Escoto

Bug Description

To prevent the system to go to sleep or shut down during playback of a video we want to tell systemd to not act on the idle state by adding a inhibition as described here: https://www.freedesktop.org/wiki/Software/systemd/inhibit/

Original Report:

main issue:
I was playing videos and computer hibernated despite video was playing.

mini issue:
Also keyboard backlid did not turned off after I run video in fullscreen - in windows it usually did after few seconds.

Related branches

Revision history for this message
dadanhrn (dadanhrn) wrote :

I have a same kind of problem. I set my monitor to turn off after 5 minutes of inactivity, and suspend after 10 minutes. After about 5 minutes of watching movie, the screen actually turned off. The sound from the movie can still be heard. Then i needed to move the cursor.
Just like the 5 minutes of inactivity of non-media player app.

Changed in audience:
status: New → Confirmed
summary: - Computer hibernated while playing
+ Setup Session inhibition to prevent automatic shutdown
description: updated
Changed in audience:
importance: Undecided → Low
Changed in audience:
status: Confirmed → In Progress
assignee: nobody → Felipe Escoto (philip.scott)
Changed in audience:
status: In Progress → Fix Committed
milestone: none → loki-rc1
Cody Garver (codygarver)
Changed in audience:
milestone: loki-rc1 → 0.2
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.