summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHyongbin Kim <hyongbink@nvidia.com>2013-06-27 16:07:38 +0900
committerGabby Lee <galee@nvidia.com>2013-10-13 17:12:33 -0700
commitc61c638b8167af9926f71f0d72247906d004ade8 (patch)
tree63ddb9cf53b537f048dfd299884e03c3a810507b /include
parent8e7386036e22bb1ea8b0c844f8ed56c0cb8ce549 (diff)
power: max17048: Add export soc get fuction
Remove forced set 100% SOC code when charging done. Sometimes, charging termination is done under 98% SOC, when tegratab spend whole power of charger and charging current drop under ITERM. Charger driver will check SOC and control charging. Bug 1310558 Bug 1316010 Change-Id: I127665fc4c1fa68584080b879f2184687c6e692b Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/243269 (cherry picked from commit 44cb7a367eef615a80fc33d0118d6950d2716d66) Reviewed-on: http://git-master/r/289130 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/max17048_battery.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/max17048_battery.h b/include/linux/max17048_battery.h
index 2fb5617b5b1f..24b90a12e73a 100644
--- a/include/linux/max17048_battery.h
+++ b/include/linux/max17048_battery.h
@@ -36,4 +36,5 @@ struct max17048_platform_data {
void max17048_battery_status(int status, int chrg_type);
int max17048_check_battery(void);
+int max17048_check_soc(void);
#endif