FS#7092 - Estimated Runtime Scaling
This patch adds a new Setting “System → Battery → Estimated Maximum Runtime”. Users can set the maximum runtime they get on average.
This value is then used to scale the estimated runtime display in the info screen and the WPS tag.
This is useful when when the battery is very old and on targets where the runtime display isn’t calibrated very well.
A similar effect could be achieved with changing the battery capacity value, but this may have unwanted side effects and is not very
userfriendly.
Should work on all targets (someone should check my code for the archos players, though).
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
patch looks ok (havnt actually tested it though), except your adding the new var in the settings struct in the middle... it needs to go at the end unless we want the plugin version to be bumped
fixed.
both patches failed in a few spots the one in comments failed in 3 hunks
Does this work? I patched it and then edited the rejects I don’t see the option under System/Battery?
there have been quite a few changes to the power management code. I’m afraid this patch doesn’t work
fix it in the next few days.
Works fine on the Sansa. I had to change the code a little because they battery menu was removed. I don’t have a copy of the patch (directly edited parts of the source to make it work) though I might be able to get one working. If you re-enable the battery menu (IIRC, it’s just an if statement) you should have it working again.
Perhaps use svn diff feature to generate a patch?