commit | 02d0d2758821c38b2601d34dac544140af09e651 | [log] [tgz] |
---|---|---|
author | Daniel Mack <daniel@caiaq.de> | Wed Jul 15 22:57:16 2009 +0200 |
committer | Anton Vorontsov <cbouatmailru@gmail.com> | Thu Jul 30 17:37:21 2009 +0400 |
tree | 3c0fa36e85cd89d4433b8de0dad4cace561ba466 | |
parent | 25f2bfa62ae77820a8185734c4a2ab7f3971a2fc [diff] |
ds2760_battery: add current_accum module parameter When connecting a ds2760 to a partly loaded battery the first time, there must be a way to bootstrap the current_accum value. Without that, the current capactity value is bogus until the battery is fully charged for the first time. Signed-off-by: Daniel Mack <daniel@caiaq.de> Cc: Szabolcs Gyurko <szabolcs.gyurko@tlt.hu> Cc: Matt Reimer <mreimer@vpop.net> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>