From: Balaji Rao Date: Tue, 27 Jan 2009 13:53:12 +0000 (+0530) Subject: pcf50633_charger: Enable periodic charging restart X-Git-Tag: v2.6.30-rc2~107^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9705ecc5c1f8f34f756164a711b4cc61110c0283;p=pandora-kernel.git pcf50633_charger: Enable periodic charging restart The battery charger state machine switches into charging mode when the battery voltage falls below 96% of a battery float voltage. But the voltage drop in Li-ion batteries is marginal(1~2 %) till about 80% of its capacity - which means, after a BATFULL, charging won't be restarted until 80%. This work_struct function restarts charging at regular intervals to make sure the battery doesn't discharge too much. Signed-off-by: Balaji Rao Cc: Andy Green Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed