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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Battery Estimator on ALL devices
« previous next »
  • Print
Pages: [1] 2

Author Topic: Battery Estimator on ALL devices  (Read 3535 times)

Offline Errant33

  • Member
  • *
  • Posts: 20
Battery Estimator on ALL devices
« on: August 02, 2007, 04:57:47 PM »
In the manual it says its their but the only time its available is if you get a custom build
« Last Edit: August 03, 2007, 01:15:00 PM by Errant33 »
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: Battery Estimator on Sansa E200
« Reply #1 on: August 02, 2007, 05:03:56 PM »
... or if you use a WPS that displays it, or you check the info screen displaying it.
Logged

Offline Errant33

  • Member
  • *
  • Posts: 20
Re: Battery Estimator on Sansa E200
« Reply #2 on: August 02, 2007, 05:08:36 PM »
Quote from: Bagder on August 02, 2007, 05:03:56 PM
... or if you use a WPS that displays it, or you check the info screen displaying it.

No no. Currently the Estimated time remaining is bugged out on the Sansa e200 Their is a setting to Change it from what it detects as your estimated run time to the real run time cpchan has it in his and its also in the manual for the official rockbox

"Battery Capacity: This setting can be used to tell Rockbox what capacity (in mAh) of
battery is being used inside it. The default is , which is the capacity value for the
standard batteries shipped with the player. Rockbox uses this value to estimate
remaining battery life for the statusbar and WPS. Changing this setting has no
effect what-so-ever on actual battery life. This setting only affects the accuracy of
the battery life estimation as shown on screen."

From the manual
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Battery Estimator on Sansa E200
« Reply #3 on: August 02, 2007, 05:38:29 PM »
"Battery Capacity" is something separate from "Estimated Run Time". While the latter depends on the former, they aren't the same thing.

What, exactly, are you saying is missing?
Logged

Offline Errant33

  • Member
  • *
  • Posts: 20
Re: Battery Estimator on Sansa E200
« Reply #4 on: August 02, 2007, 05:49:46 PM »
Quote from: Llorean on August 02, 2007, 05:38:29 PM
"Battery Capacity" is something separate from "Estimated Run Time". While the latter depends on the former, they aren't the same thing.

What, exactly, are you saying is missing?

That option isnt their in my default rockbox software latest release

..... I am attempting my first compile of rockbox soon as cygwin finishes installing to add in exactly what i want but the battery capacity feature isnt their by defualt
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Battery Estimator on Sansa E200
« Reply #5 on: August 02, 2007, 07:13:08 PM »
Battery Capacity definitely shows up in the main build on the Gigabeat.  I don't have a Sansa, but I don't see why it wouldn't be there.  You are saying that there is no Battery Capacity item in the settings menus?  I believe it should be under:
Code: [Select]
 Settings > General Settings > System > Battery > Battery Capacity

You aren't confusing this menu item with this patch: http://www.rockbox.org/tracker/task/7092?histring=runtime are you?
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Battery Estimator on Sansa E200
« Reply #6 on: August 02, 2007, 07:24:54 PM »
It may not be available on Sansa because there aren't any known user-installable batteries of capacities different from the official one.

If you do not have a different capacity battery, there is no reason as far as proper use goes for the setting.
Logged

Offline Errant33

  • Member
  • *
  • Posts: 20
Re: Battery Estimator on Sansa E200
« Reply #7 on: August 02, 2007, 10:59:59 PM »
Quote from: Chronon on August 02, 2007, 07:13:08 PM
Battery Capacity definitely shows up in the main build on the Gigabeat.  I don't have a Sansa, but I don't see why it wouldn't be there.  You are saying that there is no Battery Capacity item in the settings menus?  I believe it should be under:
Code: [Select]
 Settings > General Settings > System > Battery > Battery Capacity

You aren't confusing this menu item with this patch: http://www.rockbox.org/tracker/task/7092?histring=runtime are you?

nah i definitely checked and read the manual before i posted its not heir


To lor's response it would be nice to have if its not available because the rockbox program doesn't calc remaining time correctly at the moment.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Battery Estimator on Sansa E200
« Reply #8 on: August 02, 2007, 11:29:18 PM »
Then fix the problem with the calculation, don't ask for a broken hackish way to avoid the problem.
Logged

Offline Errant33

  • Member
  • *
  • Posts: 20
Re: Battery Estimator on Sansa E200
« Reply #9 on: August 03, 2007, 08:23:35 AM »
Quote from: Llorean on August 02, 2007, 11:29:18 PM
Then fix the problem with the calculation, don't ask for a broken hackish way to avoid the problem.

Broken hackash way = fast fix for now

Does anyone know exactly were the code is located in the source responsible for estimating battery life i will take a look into it see if i can correct it
Logged

Offline Errant33

  • Member
  • *
  • Posts: 20
Re: Battery Estimator on Sansa E200
« Reply #10 on: August 03, 2007, 09:39:14 AM »
Well i found a page with patch info to fix battery's estimated time directly based off battery bench marks and i also found where in the source code battery information is stored.

Compiling it with corrected values to see how accurate it is if its still off i will look into it further
Logged

Offline Errant33

  • Member
  • *
  • Posts: 20
Re: Battery Estimator on Sansa E200
« Reply #11 on: August 03, 2007, 10:18:33 AM »
*Deleted* no longer useful
« Last Edit: August 03, 2007, 01:14:43 PM by Errant33 »
Logged

Offline Errant33

  • Member
  • *
  • Posts: 20
Re: Battery Estimator on ALL devices (changed topic) Scroll to Bottom
« Reply #12 on: August 03, 2007, 11:00:43 AM »
Not only what i listed above give a accurate reading of time left it would also scale with the battery as it ages because its based on dynamic numbers not static.
Logged

Offline Rincewind

  • Member
  • *
  • Posts: 266
Re: Battery Estimator on ALL devices (changed topic) Scroll to Bottom
« Reply #13 on: August 03, 2007, 01:00:53 PM »
Errant33: You are looking at the simulator code. This has nothing to do with actual runtime calculation. The real thing is much more complicated and dynamic, based on (assumed) power consumption.

You can see in my patch (which was linked in this thread, above) where the calculation on real targets happens.
Logged
Iriver H120, Sansa e280

Offline Errant33

  • Member
  • *
  • Posts: 20
Re: Battery Estimator on ALL devices (changed topic) Scroll to Bottom
« Reply #14 on: August 03, 2007, 01:09:36 PM »
Quote from: Rincewind on August 03, 2007, 01:00:53 PM
Errant33: You are looking at the simulator code. This has nothing to do with actual runtime calculation. The real thing is much more complicated and dynamic, based on (assumed) power consumption.

You can see in my patch (which was linked in this thread, above) where the calculation on real targets happens.

Alright and yeah i figured it out when i got a bit lower in the code and thanks
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Battery Estimator on ALL devices
 

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

Page created in 0.097 seconds with 15 queries.