summaryrefslogtreecommitdiff
path: root/include/battery.h
diff options
context:
space:
mode:
authorPhilip Chen <philipchen@google.com>2017-08-18 12:25:00 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-08-21 12:52:14 -0700
commita438efab9c8a667743da8588bc32252ce617c517 (patch)
treefba582da4acd835804375e2fea10f93f383ceed8 /include/battery.h
parent8e7bad04821fb7b288ab2d3b4e1e3551ee7d6e94 (diff)
downloadchrome-ec-a438efab9c8a667743da8588bc32252ce617c517.tar.gz
scarlet: Define BATTERY_DESIRED_CHARGING_CURRENT
BUG=b:64821815 CQ-DEPEND=CL:621776 BRANCH=none TEST=plug in AC, and check 'charger' command on ec console Change-Id: I53681d21a5311ea58562acf2fae451ebc7f41d4d Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/621777 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'include/battery.h')
-rw-r--r--include/battery.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/battery.h b/include/battery.h
index 4848ef080b..b4b54bc72e 100644
--- a/include/battery.h
+++ b/include/battery.h
@@ -101,6 +101,7 @@ struct battery_info {
int voltage_max;
int voltage_normal;
int voltage_min;
+ /* (TODO(chromium:756700): add desired_charging_current */
/* Pre-charge current in mA */
int precharge_current;
/* Working temperature ranges in degrees C */