This image is the top of the content box. Unfortunately, there is no information-based reason for this div to be here. It's just here for design reasons. Sorry.
Go Back   MisticRiver :: For iriver Enthusiasts > All things Rockbox > ROCKbox Forums > ROCKbox for H3xx Series
Home Forums Register FAQ Search Today's Posts Mark Forums Read


Welcome to the misticriver forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 14th, 2006, 03:47 PM
Eager Mistic Beaver
 
Join Date: May 2005
Posts: 221
Function to keep track of time playing since last charge?

For determining things like battery health, I think it'd be useful if there were a way for rockbox to keep track of how many hours/minutes it's been on since the last charge. I'm not a programmer, so I don't know how to do it myself, but I was thinking it might be something like:

Rockbox records the time when it turns on, and the time when it turns off. And the time when the cable is unplugged after the most recent charge. (To save space, when the cable is plugged IN for a charge it could delete the earlier timeon/timeoff values. Or the plugin could have an option to reset.)

Then when the plugin runs, all it has to do is add up the (time off-time on) periods since the last charge.

Then you'd have an idea (a) how your battery is going and (b) how much longer it's likely to have based on last time. (Since the time remaining function is still not working.)

Anyone able/willing to do this, or something similar?
__________________
H320, 1.28K, with Rockbox and Norbusan's latest build.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old November 14th, 2006, 03:54 PM
Hoping For A Cool Title
 
Join Date: Dec 2005
Location: Germany
Posts: 82
maybe you wonder but there is exactly such a function in the debug menu !
it works exactly the way you described
the only minor difference is it doesn't extract any runtime-files... you have to look before you plug in the charger
and i think it isn't perfectly accurate
look for "view runtime"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old November 14th, 2006, 10:31 PM
Eager Mistic Beaver
 
Join Date: May 2005
Posts: 221
Typical. Whenever I ask for a feature it's already been implemented somewhere!

Although - why isn't it perfectly accurate?
__________________
H320, 1.28K, with Rockbox and Norbusan's latest build.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old November 15th, 2006, 04:50 AM
Danfried's Avatar
Eager Mistic Beaver
 
Join Date: Jan 2005
Location: China
Posts: 298
I think it is accurate -- to do what Ozjeremy wanted you can just reset the Runtime timer yourself after charging. If your aim is to calculate battery life, you don't need super accuracy anyway.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old November 15th, 2006, 08:22 AM
Moderator
 
Join Date: Nov 2004
Location: Philadelphia, PA
Posts: 3,838
Take a look at the Battery Benchmark plugin.

Quote:
The Battery Benchmark Plugin enables you to test your battery’s performance, while making normal use of your player. Once loaded it will run in the background (TSR plugin), reading various info about your battery while you use it. Once you finish your session you can find the benchmark output data in a file on your player /battery_bench.txt.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old November 15th, 2006, 08:59 AM
Hoping For A Cool Title
 
Join Date: Dec 2005
Location: Germany
Posts: 82
Quote:
Originally Posted by ozjeremy View Post
Although - why isn't it perfectly accurate?
because sometimes when i look into it, it shows 40 hours runtime and that is not true for my standard battery

try febs recommendation but this will only work for one session so just for specially benchmarking your battery under specified circumstances
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old November 15th, 2006, 10:43 AM
Hoping For A Cool Title
 
Join Date: Feb 2005
Location: Paris, France
Posts: 82
The time in the 'view runtime' debug screen only resets when you press NAVI or plug the A/C adapter. Then it will keep going until you reset it again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 01:47 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
This image is the bottom of the content box. Unfortunately, there is no information-based reason for this div to be here. It's just here for design reasons. Sorry.