Inhibit Gnome Power Manager from suspending while playing

Bug #49791 reported by Aaron Whitehouse
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Banshee
Fix Released
Wishlist
banshee (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

All Banshee has to do is call a simple dbus method when playing starts, and a simple dbus method when it's paused or stopped. This way Gnome-Power-Manager doesn't auto-suspend or power-down while banshee is playing.

See https://wiki.ubuntu.com/GnomePowerManagerInactiveSleep for more information.

Changed in banshee:
assignee: nobody → luna-tick
assignee: luna-tick → nobody
Changed in banshee:
status: Unknown → Unconfirmed
Changed in banshee:
status: Unconfirmed → Fix Released
Revision history for this message
Simon Law (sfllaw) wrote :

The code to do this has been checked into CVS upstream.

Changed in banshee:
importance: Untriaged → Wishlist
status: Unconfirmed → Confirmed
Revision history for this message
Sebastian Dröge (slomo) wrote :

Which we will maybe get already for edgy. Currently upstream is doing heavy development in CVS HEAD and I hope we will get a new release soon...

Revision history for this message
Sebastian Dröge (slomo) wrote :

This is fixed with 0.11.0-0ubuntu1 on edgy

Changed in banshee:
status: Confirmed → Fix Released
Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

I tested this for the first time today on Hardy Alpha 2 and it does not work. The computer suspends while a song is playing.

Changed in banshee:
status: Fix Released → New
Revision history for this message
Andrew Conkling (andrewski) wrote :

Developer on upstream bug says this should be fixed in 0.13.2. I can't reproduce it here. Reopen if necessary.

Changed in banshee:
status: New → Fix Released
Revision history for this message
Cory Dodt (corydodt) wrote :

Argh, who thought this would be a good idea? It prevents the laptop from suspending when the lid is closed! If the sound is muted, that means you won't even notice == overheated components and lost laptop lifetime.

This should at least be configurable.

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote : Re: [Bug 49791] Re: Inhibit Gnome Power Manager from suspending while playing

I think that it is a good idea. If I am playing music with the lid
closed, I am usually listening to the music and do not want the
computer to suspend due to inactivity.

If the laptop is low on battery, it will of course still suspend.

You may also find that you enjoy playing music more if you don't have
the sound muted ;)...

Revision history for this message
Cory Dodt (corydodt) wrote :
  • unnamed Edit (283 bytes, text/html; charset=ISO-8859-1)

You know that some (most?) laptops are not meant to be run with the lid
closed, right? That's part of the heat dispersal. You're damaging it when
you do that.

And when you get interrupted a lot, you don't always know whether or not the
sound is muted.

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

Hang on - are you saying that if you have the computer set to suspend
when you close the lid, and you have music playing, closing the lid no
longer suspends the computer? I would consider that a bug, as I would
expect lid-events to trump the suspend inhibit.

If that is the case, I would suggest you file a bug.

When I first read that, I thought that you often listened to the music
with the lid closed, but expected it to suspend after a certain time.

Changed in banshee:
importance: Unknown → Wishlist
Revision history for this message
Haggai Eran (haggai-eran) wrote :

I don't know how it worked in the past, but it doesn't work in Natty. My computer goes into sleep even when Banshee is playing music.

Revision history for this message
Chow Loong Jin (hyperair) wrote :

Switch to "Now Playing" and activate full-screen mode. I think it should probably inhibit the screensaver and consequently the suspend/hibernate-on-idle then.

Apart from that, I think people generally leave Banshee playing music in the background and just leave the computer to idle when they go away from the keyboard. If the computer doesn't activate the screensaver and/or suspend after the idle time is up, it would be pretty confusing and undesirable in those usecases.

Revision history for this message
tekstr1der (tekstr1der) wrote :

@Chow Loong Jin: Nope. Even in "Now Playing" & full-screen mode, banshee fails to inhibit both the screensaver and also the suspend after idle timeout.

This bug still exists as of banshee 2.2.1 on oneiric 11.10.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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