Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Catch the idle shutdown
« previous next »
  • Print
Pages: [1] 2

Author Topic: Catch the idle shutdown  (Read 8676 times)

Offline Multiplex

  • Member
  • *
  • Posts: 440
Catch the idle shutdown
« on: October 31, 2008, 09:59:20 AM »
I can't think of a better term but what I'm thinking about is like the Windows XP screen saver option where if you jiggle the mouse withing the first few seconds of the SS kicking in you can abort it without having to enter the password.

For the umpteenth time this week I've been working away with background music provided by Rockbox on my trusty H320, and someone comes to my desk so I pause playback and revmove the headphones. During the discussion I see out of the corner of my eye my iRiver waking up the screen to tell me it is shutting down... if it just gave a count down (from say 15 seconds) and I could press a button to prevent the shutdown (rather then have to restart it) that would be great.

I've made no attempt to look at the code to see if this is practical but thought I'd mention it to see if anyone else feels the same...
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Catch the idle shutdown
« Reply #1 on: October 31, 2008, 10:18:37 AM »
Why not just increase the idle shutdown setting...?

http://download.rockbox.org/manual/rockbox-h300/rockbox-buildch8.html#x11-1360008.5.5

On the hard drive players especially, the battery usage for saving settings and then restarting probably outweighs quite significantly additional drain from leaving the player in a paused state for an extended period.
« Last Edit: October 31, 2008, 10:21:02 AM by bascule »
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Catch the idle shutdown
« Reply #2 on: October 31, 2008, 05:41:30 PM »
In fact, being paused for a minute longer probably uses less power than having the backlight on for 15 seconds.
Logged

Offline nls

  • Developer
  • Member
  • *
  • Posts: 460
Re: Catch the idle shutdown
« Reply #3 on: November 01, 2008, 09:01:46 AM »
I like the idea of a general shutdown delay for non user triggered shutdowns. It would address this issue and the issue a user brought up in the mailing list which was basically the same but with the sleep timer.

Simply splashing "Shutting down in x seconds, press any button to cancel" would do it i think with a settable timeout of course.
Logged

Offline MajiKool Dragonâ„¢

  • Member
  • *
  • Posts: 147
  • I'm me!
Re: Catch the idle shutdown
« Reply #4 on: November 01, 2008, 09:47:56 AM »
could it during the timeout period sleep as much unused hardware as possible in prep for shutdown and then re-awake that hardware if the shutdown is canceled.
  ??? ;D
Logged
"Isn't it funny how even the coldest weather isn't so cold when you've got people who care about you to walk through it with you." - MajiKool Dragonâ„¢
SanDisk Sansa c240v1 + 16GB µSDHC, Apple iPhone 4 iOS4.2.1 Jailbroken

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Catch the idle shutdown
« Reply #5 on: November 01, 2008, 10:22:48 AM »
Quote from: MajiKool Blingâ„¢ on November 01, 2008, 09:47:56 AM
could it during the timeout period sleep as much unused hardware as possible in prep for shutdown and then re-awake that hardware if the shutdown is canceled.

What would be the point?  If it shutdown anyway you would gain nothing, and if the user interrupted the shutdown then everything would have to be powered up again.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline Zardoz

  • Member
  • *
  • Posts: 226
Re: Catch the idle shutdown
« Reply #6 on: November 01, 2008, 12:26:50 PM »
Quote from: nls on November 01, 2008, 09:01:46 AM
I like the idea of a general shutdown delay for non user triggered shutdowns.

I like this idea too - as in I would find, and have found situations where this could be helpful. The more configurable the better huh? Unless it would cost a whole bunch in code and fiddliness and cause problems elsewhere
Logged
"And I have looked into the face of the force which put the idea in your head. You are bred and led yourself"

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: Catch the idle shutdown
« Reply #7 on: November 01, 2008, 12:59:08 PM »
Quote from: Zardoz on November 01, 2008, 12:26:50 PM
Quote from: nls on November 01, 2008, 09:01:46 AM
I like the idea of a general shutdown delay for non user triggered shutdowns.

I like this idea too - as in I would find, and have found situations where this could be helpful. The more configurable the better huh? Unless it would cost a whole bunch in code and fiddliness and cause problems elsewhere
What is the justification for making it configurable?
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline Zardoz

  • Member
  • *
  • Posts: 226
Re: Catch the idle shutdown
« Reply #8 on: November 01, 2008, 01:24:00 PM »
Justification; in this case - none I guess. I just meant that as a general precept. Although now that you mention, it would be cool if one could set an 'interrupt' window in seconds or some such. To answer your question: No justification. Just a notion.
Logged
"And I have looked into the face of the force which put the idea in your head. You are bred and led yourself"

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: Catch the idle shutdown
« Reply #9 on: November 01, 2008, 03:01:58 PM »
I'm not against it - but I, personally, can not think of a reason to make the window configurable.  I'm not sure what usability such an option adds to the window.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline Zardoz

  • Member
  • *
  • Posts: 226
Re: Catch the idle shutdown
« Reply #10 on: November 01, 2008, 03:34:26 PM »
Not a whole lot. Admittedly it's a gimmick. But it might be a useful one. What about the screen flashes 'on-off' every 5 or so seconds for a set time between 10 and 90 seconds before shutdown? (here the configurable option.) That's probably a silly idea
Logged
"And I have looked into the face of the force which put the idea in your head. You are bred and led yourself"

Offline Multiplex

  • Member
  • *
  • Posts: 440
Re: Catch the idle shutdown
« Reply #11 on: November 03, 2008, 07:43:55 AM »
Quote from: bascule on October 31, 2008, 10:18:37 AM
Why not just increase the idle shutdown setting...?

http://download.rockbox.org/manual/rockbox-h300/rockbox-buildch8.html#x11-1360008.5.5

On the hard drive players especially, the battery usage for saving settings and then restarting probably outweighs quite significantly additional drain from leaving the player in a paused state for an extended period.
Yeah, actually I think I have but how far to go?

Llorean's point feels about right, but I have not investigated the actual figures (for any player) - certainly I think that shutdown and restart will use more power then many minutes of paused and backlight off.

Just like the screensaver analogy I'd appreciate the opportunity to catch it and re-start the timeout, on the expectation that I'll be wanting to use it again very soon.

I'll take a look next weekend and see if I can do anything (particularly as someone beat me to the Sudoku candidates display)
Logged

Offline LinusN

  • Member
  • *
  • Posts: 1914
Re: Catch the idle shutdown
« Reply #12 on: November 04, 2008, 01:55:26 AM »
I think this sounds like a pretty good thing. Maybe a "Shutting down in X seconds" countdown?
Logged
Archos Jukebox 6000, Recorder, FM Recorder/iAudio X5/iriver H1x0, H3x0/Toshiba Gigabeat F20/iPod G5, G5.5

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Catch the idle shutdown
« Reply #13 on: November 04, 2008, 02:08:07 AM »
ok, fine, probably easy to implement, but then you have the same complaint where its not displaying for long enough... "oh i just got back to my desk and it turned off just as i pressed a button.. can you increase it to 30s?" ... 60s? 90s?

edit: might not be so easy to implement...
« Last Edit: November 04, 2008, 02:16:26 AM by JdGordon »
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Catch the idle shutdown
« Reply #14 on: November 04, 2008, 05:23:43 AM »
Well, you still use the same idle shutdown time the user set (as in, don't increase it any), but have a "yes/no" option for "Warn before shutdown" which turns the backlight on 5 seconds before shutdown with a brief countdown.

5 seconds doesn't seem like long, but they've already set the idle shutdown time, and they can press a button at any time *before* those 5 seconds to cancel the idle shutdown anyway, it's just a very last-second warning before it shuts down.

I don't think we need to be concerned about people wanting "just a little more time" since the user still gets to set the idle time, and they can press a button during any portion of the idle time, we really just need to give them a brief warning right before the idle time runs out.
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Catch the idle shutdown
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.129 seconds with 14 queries.