Bug 7202 - Link power management settings/timeouts to the players current state (i.e. playing)
: Link power management settings/timeouts to the players current state (i.e. pl...
Status: CLOSED FIXED
Product: SB Controller
Classification: Unclassified
Component: Power Management
: unspecified
: PC Windows (legacy)
: P2 enhancement (vote)
: 7.4.0
Assigned To: Ross Levine
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-18 04:35 UTC by Dominic Evans
Modified: 2011-03-16 04:47 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominic Evans 2008-02-18 04:35:42 UTC
The current behaviour can cause some annoyance when you have to wait for a new network and server connection (parties when an emergency track change is required, or a 65 min long album ends, or internet radio cuts out). Should the state of the currently selected player not also be a factor? I.e. if the player is playing music, surely it should be expected that we will want to use the remote again in the near future.

So what i propose is;

* No music playing/SB off + No controller activity for 1 hour = Controller sleep.

* Music playing/SB active + No controller activity for 1 hour = don't sleep. after music stops, wait 10 mins, then sleep.

And maybe also;

* Music playing/SB active + Infra-red usage detected + No controller activity for 1 hours = sleep.
Comment 1 Richard Titmuss 2008-03-11 14:22:58 UTC
Dean, comments?
Comment 2 Ben Klaas 2008-06-06 12:42:07 UTC
bump Dean
Comment 3 Blackketter Dean 2008-06-06 15:31:09 UTC
I think we should enhance the power management to take the state of playing in the player into account when sleeping the controller, though I'm not sure the suggestions here are exactly right.

I'd like to know what the expected battery life is when staying connected in order to tune this value.

Ross:  how long does the battery last if the controller doesn't go into deep sleep?
Comment 4 Ross Levine 2008-06-06 15:44:44 UTC
http://wiki.slimdevices.com/index.php/SqueezeOS_Internals

By deep sleep we're talking about suspend. 
Comment 5 Ross Levine 2008-06-18 17:10:29 UTC
Back to you Dean. 4.6 days according to the wiki. 
Comment 6 Blackketter Dean 2008-06-18 18:53:40 UTC
I don't believe that Jive will run for 4.6 days in any power mode, except maybe "off".

Is it possible for you to test this by actually running down the battery and not by using an ammeter?  
Comment 7 Ross Levine 2008-06-23 18:56:22 UTC
After 4 days and 4 hours SBC stopped functioning and now only displays Battery Low please charge me. I left it on my desk and checked it 3 times per day since 2:45pm 6/19/08 (except Saturday and Sunday)
Comment 8 Blackketter Dean 2008-07-18 10:24:46 UTC
Very good Ross.

Dominic:  The battery will last less than 19 hours total if we stay connected while playing music.  What's your impression of consuming battery while playing?

Richard:  What's your take on this?  I think you mentioned that this would be a good idea in your mind.
Comment 9 Richard Titmuss 2008-07-21 01:36:02 UTC
I think this is a good idea, and one that I originally wanted to implement but we went for the simple approach for the first release. Let's tentatively target for 7.3.
Comment 10 Richard Titmuss 2008-10-30 04:44:25 UTC
This won't make 7.3.
Comment 11 Richard Titmuss 2009-06-09 12:04:37 UTC
Ross, we made some changes in 7.3.3. Please comment, and close or reassign as appropriate.
Comment 12 Ross Levine 2009-06-09 18:27:04 UTC
See also bug 11824. If the player is playing Controller will suspend at 40 minutes, if the player is not playing it will suspend after 20 minutes.
Comment 13 James Richardson 2009-10-05 14:36:19 UTC
This bug has been marked as fixed in the 7.4.0 release version of SqueezeBox Server!
    * SqueezeCenter: 28672
    * Squeezebox 2 and 3: 130
    * Transporter: 80
    * Receiver: 65
    * Boom: 50
    * Controller: 7790
    * Radio: 7790  

Please see the Release Notes for all the details: http://wiki.slimdevices.com/index.php/Release_Notes

If you haven't already, please download and install the new version from http://www.logitechsqueezebox.com/support/download-squeezebox-server.html

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.