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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Battery management while charging
« previous next »
  • Print
Pages: [1] 2 3

Author Topic: Battery management while charging  (Read 13799 times)

Offline FaN

  • Member
  • *
  • Posts: 4
Battery management while charging
« on: February 22, 2012, 07:15:10 AM »
Hello ROCKbox world,

I'm new on this forum, and a new user of this awesome FW, and I'm already loving it!
I've got a Iaudio M3 and a Sansa Clip +, both rockboxed, and both have the same king of usage which is probably not so frequent: I'm listening to MP3 at work, and thus, the player is continuously connected to USB to charge.
And thus, the battery is always fully charged...
On my M3, I've used 3 batteries: all dead with only a few charge/discharge cycles, because it stays always at 100% SOC (State Of Charge).

In order to maximize the battery life, it could be very great to have the opportunity to select a 'connected mode'.
1. normal mode, to charge the battery in order to use the player in a normal way.
2. desk mode, on which the SOC target could be set to @40%, in order to preserve the battery.

Is this something that could be done?

Thanks for all the job done so far,
/Vincent
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Battery management while charging
« Reply #1 on: February 22, 2012, 11:56:39 AM »
I doubt its going to make much difference to keep the battery less charged.
Logged

Offline bertrik

  • Developer
  • Member
  • *
  • Posts: 171
    • Homepage Bertrik Sikken
Re: Battery management while charging
« Reply #2 on: February 22, 2012, 12:13:23 PM »
At least on the Clip+, charging stops when the battery gets fully charged, even when connected to a PC. After that you have to replug it to start a new charge cycle.

Actually I can imagine having a battery life extension option, my netbook has one (Samsung N510). In battery extension mode, it charges only up to 80% instead of 100%. In the short term, I don't think we'll see any such option on rockbox yet.
Logged
Meizu M6SP, Samsung YP-S3, iPod nano 1g, Sansa c200, Sansa e200, Sansa Clip, Sansa Clip+, Sansa Clip Zip
 

Offline pabouk

  • Member
  • *
  • Posts: 387
Re: Battery management while charging
« Reply #3 on: February 23, 2012, 10:00:14 AM »
It is a known fact that Li-ion and Li-Pol batteries age faster when they are more charged and/or when their temperature is higher. So option to stop charging at certain level and possibly to not start charging when the charge is above certain level would be useful.

Dependency of aging on the number of charge cycles is not clear but from my experience it seems that avoiding large number of partial charges makes the life of a battery longer.
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Battery management while charging
« Reply #4 on: February 23, 2012, 11:27:16 AM »
It *is* true, however it doesn't matter very much. It's only a big deal when the battery is stored for a long time without being used. If you're actually using the player every couple of days then it's not going to spend long enough fully charged for it to make a lot of difference to the battery's lifetime.

In general, for real devices that users use every day, you can do anything you like when you charge it (charge it often or not, fully or not, leave it plugged in when charged or not) and the result will be absolutely no observable difference whatsoever. This really only matters for things that are infrequently used.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline dreamlayers

  • Developer
  • Member
  • *
  • Posts: 425
  • Boris Gjenero
    • My Blog
Re: Battery management while charging
« Reply #5 on: February 24, 2012, 01:39:30 AM »
If you have long battery life and you plug in the player daily (eg. in a car or playing music via a dock at home), then the battery will probably spend most of its time near full charge and wear out sooner. It would be nice to have a charging level limit for such situations.

There should be some hysteresis. (The level required to re-start charging should be a few percentage points below the level that ends it.) This should also exist in the normal case, when charging to 100%.

Even without this, the battery should still last for a few years. If it dies after a few charge/discharge cycles, then it was probably defective, low quality or abused in more serious ways.

I don't think it makes sense to worry much about battery level micro-management, but the point here is that it's a feature you can simply set and leave until you need more capacity.
Logged

Offline FaN

  • Member
  • *
  • Posts: 4
Re: Battery management while charging
« Reply #6 on: February 24, 2012, 02:57:15 AM »
Hello,

Thanks a lot for all your feedbacks!
I'm working with lithium batteries, and using LiPo in remote controlled cars, and i can tell you that the extreme charge/discharge levels are bad for battery life.

For example, in hybrid vehicles with LiIon batteries, the usefull range of SoC et 30-60%.
When driver see 0%, the real level is 30, and when fully charged on dasboard, real charge is 60%!
Logged

Offline bertrik

  • Developer
  • Member
  • *
  • Posts: 171
    • Homepage Bertrik Sikken
Re: Battery management while charging
« Reply #7 on: February 24, 2012, 05:05:55 AM »
What would be a reasonable way to charge to a lesser extent?
Just adjust the max. charge voltage to a lower value (and keep the current settings the same)?

As far as I've seen with many Sansa players, the useful voltage range during use is from about 4.1V to about 3.6V, or a range of 0.5V.
Currently we charge with a voltage limit at 4.2V, so would charging up to 4.1V to get at 80% (for example) with the same current settings be reasonable?
Logged
Meizu M6SP, Samsung YP-S3, iPod nano 1g, Sansa c200, Sansa e200, Sansa Clip, Sansa Clip+, Sansa Clip Zip
 

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Battery management while charging
« Reply #8 on: February 24, 2012, 06:13:47 AM »
Quote from: FaN on February 24, 2012, 02:57:15 AM
I'm working with lithium batteries, and using LiPo in remote controlled cars, and i can tell you that the extreme charge/discharge levels are bad for battery life.

For example, in hybrid vehicles with LiIon batteries, the usefull range of SoC et 30-60%.
When driver see 0%, the real level is 30, and when fully charged on dasboard, real charge is 60%!
RC cars, and real cars, have drastically different load characteristics to portable consumer electronics. The effect really is a lot less than you think. :)
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline FaN

  • Member
  • *
  • Posts: 4
Re: Battery management while charging
« Reply #9 on: February 24, 2012, 06:27:36 AM »
Why not introduce a parameter to select the balance between Autonomy vs battery life?
For instance:
Autonomy: SoC in range 3.6 - 4.2V
Battery life: SoC in range 3.7 - 4.0V
This is just a suggestion of values, it needs to be discussed. But I like the balance parameter. It's easy to set for the user, and a good way to adjust according to everybody needs’.

I'd like to add one remark: I was wondering why I've never seen any Li-based device having this kind of parameter. But is i quite obvious: for manufacturer, the only interest in battery management is to show that a brand new device has a big autonomy. If the battery life is short, it's even a plus, as the customer will buy a new one!
End of parenthesis, sorry.

Interesting stuffs there:
http://batteryuniversity.com/learn/article/charging_lithium_ion_batteries
Abstract:
Li-ion does not need to be fully charged, as is the case with lead acid, nor is it desirable to do so. In fact, it is better not to fully charge, because high voltages stresses the battery. Choosing a lower voltage threshold, or eliminating the saturation charge altogether, prolongs battery life but this reduces the runtime. Since the consumer market promotes maximum runtime, these chargers go for maximum capacity rather than extended service life.

What king of charge is used in Sansa? Do we complete a full charge with a small current? Or do we stop as soon as the voltage reach the target?
Could we also play with this?

torne has replied before me...
Could you explain the differences please?
Or provide a link about this?

« Last Edit: February 24, 2012, 06:39:34 AM by FaN »
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Battery management while charging
« Reply #10 on: February 24, 2012, 11:45:58 AM »
It comes down to this: there's two (main) things that reduce the capacity of a battery: the passage of time, and recharging it. A battery that's just sitting around doing nothing will lose capacity no matter what; the rate depends on temperature and on the level of charge, and indeed it will lose capacity faster if it's left fully charged. However, you're going to kill the battery in your consumer electronics through repeated charge cycles long before you notice this effect.

RC cars typically aren't actually used very often; they spend days, weeks or months at a time sitting on a shelf. Mine has certainly had less than a hundred charge cycles *ever* :) This means that the capacity loss is dominated by how much it's lost over time, and thus it's important not to leave it fully charged when you put it on that shelf.

Actual hybrid cars switch between charging and discharging on an extremely frequent basis, often second-by-second, with a load that varies even faster, and then on top of that *also* get left sitting around for long periods without any consideration to their state of charge when doing so. This is basically the worst treatment you can give a battery and any attempt to make it last longer is subject to a zillion variables that hopefully your car manufacturer understands, but you probably don't :)

My smartphone, for a different example, can chew its entire battery from 100% to 0% in about 20 hours if I use it as much as I normally do. I end up charging it multiple times per day as a result. Even then, it's not fully charged for a very large proportion of the time, and the number of charge cycles massively outweighs the loss-over-time effect.

An MP3 player is not quite so bad, hopefully, since they are not usually turned on 24/7 and their power consumption even when in use is lower compared to their battery size, but they are much closer to the smartphone example than the RC car example.

If your MP3 player lasts long enough on a single charge that you can use it for several days without charging it, then it's very likely that the best *simple* thing to do in terms of preserving its battery lifetime is just to.. use it several days without charging it. When you think it's too low to go another day without charging it, charge it. The difference between letting it charge to 100% and letting it charge to a lower voltage is pretty minor compared to just not charging it as often. :)

Anyway, if you feel like writing a patch to control charging behaviour in this way, then go for it; I'm just noting that the effect is likely to be much smaller than you imagine, and may in fact be unmeasurable.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline FaN

  • Member
  • *
  • Posts: 4
Re: Battery management while charging
« Reply #11 on: February 26, 2012, 11:48:16 AM »
I understand, and you're probably right.
so... I don't know if such a patch could correct my problem. Probably not...

But... I'm convinced it can be great for other users, with other kind of usage of their players...

Not sure...

Don't know what to think about!  ???
Logged

Offline blr_p

  • Member
  • *
  • Posts: 12
Re: Battery management while charging
« Reply #12 on: October 20, 2012, 05:17:20 PM »
Quote from: torne on February 24, 2012, 11:45:58 AM
However, you're going to kill the battery in your consumer electronics through repeated charge cycles long before you notice this effect.
I'd like to know the basis for why you say repeated charge cycles will kill the battery.

From BU, the detrimental effect is marginal wrt to charging li-ion/poly ceterius paribus.



Normal charging should only get a Li-ion lukewarm. Whats more dangerous  is fast charging and harsh discharges. Think super fast wall chargers and deep discharges.


Quote from: torne on February 24, 2012, 11:45:58 AM
If your MP3 player lasts long enough on a single charge that you can use it for several days without charging it, then it's very likely that the best *simple* thing to do in terms of preserving its battery lifetime is just to.. use it several days without charging it. When you think it's too low to go another day without charging it, charge it. The difference between letting it charge to 100% and letting it charge to a lower voltage is pretty minor compared to just not charging it as often. :)
If you go several days without charging and then charge when it is too low, then you have to deal with a higher DoD (Depth of Discharge)  See Table 2 here

The smaller the DoD the better. That means frequent charges with small DoD is better than less frequent charges with a larger DoD. Temps are lower with partial charges than longer ones. And we all know elevated temp is the biggest battery killer.

The reason i posted here is I am in agreement that RB needs a feature that allows the user to set the max charging level or voltage. Going with Table 4 of the previous posted link that is at 3.9 - 4.0V.

3.9V corresponds to 70% using this battery benchmark log .

Therefore the optimal charging level is not 100% but rather closer to 70% (or whatever the corresponding voltage). If there was way to stop charging at that level via a user configurable setting then battery life could be improved considerably.

The magic formula for li-poly battery longevity is...

charge to 70%, use till down to 45% and then recharge again.

This provides a low DoD of just 25% and keeps battery stress to a minimum.

The runtime is reduced to ~4 hours ( in the case of the Clip+) but that is a decent duration between recharges.


Quote from: torne on February 24, 2012, 11:45:58 AM
Anyway, if you feel like writing a patch to control charging behaviour in this way, then go for it; I'm just noting that the effect is likely to be much smaller than you imagine, and may in fact be unmeasurable.
Heh, no, i cannot do this. I've posted to stimulate a discussion and hopefully generate interest in allowing such a feature into RB. Way i see it it such a feature will benefit any portable li-poly device RB is installed on to the tune of 2-3x longer battery life if BU's figures are correct.

I absolutely detest how i have to throw out a much loved device because its impossible for the user to change the battery  ::)

Quote from: FaN
I was wondering why I've never seen any Li-based device having this kind of parameter. But is i quite obvious: for manufacturer, the only interest in battery management is to show that a brand new device has a big autonomy. If the battery life is short, it's even a plus, as the customer will buy a new one!
Because the consumer wants a device that will run the longest. Run time is more important than battery longevity.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Battery management while charging
« Reply #13 on: October 20, 2012, 09:01:42 PM »
If batteries are really good for so many charge cycles as that chart suggests then I don't think this setting makes sense.
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Battery management while charging
« Reply #14 on: October 21, 2012, 01:29:07 PM »
The information you link to does not support your conclusions (in fact, they agree with me) :)
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

  • Print
Pages: [1] 2 3
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Battery management while charging
 

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

Page created in 0.143 seconds with 15 queries.