| 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. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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. |
|
|||
|
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" |
|
|||
|
Take a look at the Battery Benchmark plugin.
Quote:
|
|
|||
|
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 |