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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Sansa fuse Plus battery calibration
« previous next »
  • Print
Pages: [1] 2

Author Topic: Sansa fuse Plus battery calibration  (Read 4029 times)

Offline fennectech

  • Member
  • *
  • Posts: 91
Sansa fuse Plus battery calibration
« on: November 09, 2014, 05:45:36 PM »
Okay so i bought a fuse plus the other day and i am VERRY happy with it   rockbox was the first thing i did to it but im noticng one little thing  and that it doesnt charge over 95 percent  so i did a battery bench   from 85 percent to zero    took over 30 hours to discharge playing my library with headphones  ill attach the file
* battery_bench.txt (119.95 kB - downloaded 110 times.)
Logged
There is a solution to every problem, so long as you do not break the laws of physics

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Sansa fuse Plus battery calibration
« Reply #1 on: November 09, 2014, 06:47:47 PM »
http://git.rockbox.org/?p=rockbox.git;a=blob;f=firmware/target/arm/imx233/sansa-fuzeplus/powermgmt-fuzeplus.c;h=af87d7045d770f44cff3c79b57599d697f04332d;hb=HEAD

Looks like 100% is defined to be 4230 mV, whereas your maxes out 50 mV less.  Probably just normal variation in battery voltage and meter accuracy.
Logged

Offline fennectech

  • Member
  • *
  • Posts: 91
Re: Sansa fuse Plus battery calibration
« Reply #2 on: November 09, 2014, 07:27:44 PM »
can i change the definition and recompile it?
Logged
There is a solution to every problem, so long as you do not break the laws of physics

Offline fennectech

  • Member
  • *
  • Posts: 91
Re: Sansa fuse Plus battery calibration
« Reply #3 on: November 09, 2014, 07:29:56 PM »
im also going to charge with the boot loader  is there a way i can ajust that too?   when its fully charged ill report
Logged
There is a solution to every problem, so long as you do not break the laws of physics

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Sansa fuse Plus battery calibration
« Reply #4 on: November 09, 2014, 07:51:06 PM »
Quote from: fennectech on November 09, 2014, 07:27:44 PM
can i change the definition and recompile it?

Of course.  This is an open source project, you can build the source yourself if you want. 
Logged

Offline fennectech

  • Member
  • *
  • Posts: 91
Re: Sansa fuse Plus battery calibration
« Reply #5 on: November 09, 2014, 08:57:20 PM »
4183 millevolts seems to be the top for mine  can someone point me in the right direction as to getting it working  wich files contain the definitions
Logged
There is a solution to every problem, so long as you do not break the laws of physics

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Sansa fuse Plus battery calibration
« Reply #6 on: November 09, 2014, 09:39:27 PM »
Quote from: fennectech on November 09, 2014, 08:57:20 PM
4183 millevolts seems to be the top for mine  can someone point me in the right direction as to getting it working  wich files contain the definitions

See my first reply to this thread. 
Logged

Offline fennectech

  • Member
  • *
  • Posts: 91
Re: Sansa fuse Plus battery calibration
« Reply #7 on: November 09, 2014, 09:55:07 PM »
{ 3100, 3650, 3720, 3750, 3780, 3820, 3880, 4000, 4040, 4125, 4230 },
so i just change 4230 to my arbitrary value?  then make target?
Logged
There is a solution to every problem, so long as you do not break the laws of physics

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Sansa fuse Plus battery calibration
« Reply #8 on: November 09, 2014, 10:29:24 PM »
That should do it.
Logged

Offline fennectech

  • Member
  • *
  • Posts: 91
Re: Sansa fuse Plus battery calibration
« Reply #9 on: November 09, 2014, 10:31:53 PM »
where can i find this file in the git on my filesystem   *arch is making the cross compiler*
Logged
There is a solution to every problem, so long as you do not break the laws of physics

Offline fennectech

  • Member
  • *
  • Posts: 91
Re: Sansa fuse Plus battery calibration
« Reply #10 on: November 10, 2014, 12:24:26 AM »
Okay  it worked kind of  but the bootloaders charge thing is flipping between 83 and 100 percent
    { 3100, 3650, 3720, 3750, 3780, 3820, 3880, 4000, 4040, 4125, 4170 },  this is my current version of that line
Logged
There is a solution to every problem, so long as you do not break the laws of physics

Offline fennectech

  • Member
  • *
  • Posts: 91
Re: Sansa fuse Plus battery calibration
« Reply #11 on: November 10, 2014, 01:04:17 AM »
can somebody help me in figuring out accurate values for these numbers?
{
    /* Sansa Fuze+ Li Ion 600mAH figured from discharge curve */
    { 3100, 3650, 3720, 3750, 3780, 3820, 3880, 4000, 4040, 4125, 4170 },
};

/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
const unsigned short percent_to_volt_charge[11] =
{
    /* Sansa Fuze+ Li Ion 600mAH figured from charge curve */
    3480, 3790, 3845, 3880, 3900, 3935, 4005, 4070, 4150, 4250, 4335
};
Logged
There is a solution to every problem, so long as you do not break the laws of physics

Offline fennectech

  • Member
  • *
  • Posts: 91
Re: Sansa fuse Plus battery calibration
« Reply #12 on: November 10, 2014, 01:29:55 AM »
what information would i need to start?
Logged
There is a solution to every problem, so long as you do not break the laws of physics

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Sansa fuse Plus battery calibration
« Reply #13 on: November 10, 2014, 11:37:36 AM »
Maybe, what are you actually trying to do?  Asking for help isn't much use if you don't explain the problem. 
Logged

Offline fennectech

  • Member
  • *
  • Posts: 91
Re: Sansa fuse Plus battery calibration
« Reply #14 on: November 10, 2014, 01:21:16 PM »
i am trying to make the battery indicator true to my battery 
Logged
There is a solution to every problem, so long as you do not break the laws of physics

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Sansa fuse Plus battery calibration
 

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

Page created in 0.066 seconds with 14 queries.