diff options
author | Hyongbin Kim <hyongbink@nvidia.com> | 2013-07-01 17:30:22 +0900 |
---|---|---|
committer | Gabby Lee <galee@nvidia.com> | 2013-07-01 18:13:27 -0700 |
commit | 0d3c0c0cdcf0998d720a6b3480da34eae5c4300a (patch) | |
tree | e920e4bcffc02af0b8cc3f847cf6385e1aad560b /include/linux | |
parent | 16c098b17b2da48ef8f6f26d65c45766e20f37ed (diff) |
power: bq2419x: check vcell when charging complete and set restart charging voltage
When SOC 100% and disable charging, we should restart charging
when voltage is droped under some voltage. if not, it make large gap
between real SOC and current SOC(100%).
If there is no vcell_check fuction, just check soc value.
Bug 1310558
Change-Id: I23431e53678607e7c963338a85e7cdb23deba79b
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/243893
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/power/bq2419x-charger.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/power/bq2419x-charger.h b/include/linux/power/bq2419x-charger.h index 1166b4d0810c..77d136f5c8ce 100644 --- a/include/linux/power/bq2419x-charger.h +++ b/include/linux/power/bq2419x-charger.h @@ -109,6 +109,7 @@ struct bq2419x_charger_platform_data { void (*update_status)(int, int); int (*battery_check)(void); int (*soc_check)(void); + int (*vcell_check)(void); int max_charge_volt_mV; int max_charge_current_mA; @@ -118,6 +119,7 @@ struct bq2419x_charger_platform_data { int num_consumer_supplies; struct regulator_consumer_supply *consumer_supplies; int chg_restart_time; + int chg_complete_soc; }; /* |