diff options
author | Balaji Rao <balajirrao@openmoko.org> | 2008-12-29 12:11:33 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-12-29 12:11:33 +0000 |
commit | 819eb8196422f5fbe19690c903093ccc37519227 (patch) | |
tree | 842bf97a865e2ba2c7d63d963a723d0ebb8a7f2f /include/linux | |
parent | 4c92928c63ab443dc1d3f5368c0fd6ae40c36c83 (diff) |
Manually restart charger periodically
This avoids excessive discharges seen in case of Li-ion batteries even
when charger is connected.
Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mfd/pcf50633/mbc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/pcf50633/mbc.h b/include/linux/mfd/pcf50633/mbc.h index 9a7938ad132..5ba4aeedc28 100644 --- a/include/linux/mfd/pcf50633/mbc.h +++ b/include/linux/mfd/pcf50633/mbc.h @@ -132,6 +132,8 @@ struct pcf50633_mbc { struct power_supply usb; struct power_supply adapter; + struct delayed_work charging_restart_work; + struct platform_device *pdev; }; #endif |