summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2018-05-11 13:24:43 -0600
committerchrome-bot <chrome-bot@chromium.org>2018-05-22 21:57:03 -0700
commitb34a5973cd8a5cc66c4c931a86317a114f68d792 (patch)
treee624f088d9b0c74789ac3b1812e3933df7574f59
parentf62376ade44d542dbe5781bf42333b7f804935d5 (diff)
downloadchrome-ec-b34a5973cd8a5cc66c4c931a86317a114f68d792.tar.gz
cleanup: add comment to CONFIG_BATTERY_REVIVE_DISCONNECT
When you define CONFIG_BATTERY_REVIVE_DISCONNECT you also need to define battery_get_disconnected_state method() BRANCH=none BUG=none TEST=none Change-Id: I0ab42c722e2511cbfa50cab2142baec0906d8263 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1055819 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
-rw-r--r--include/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index bad67c6abf..3efa001ea4 100644
--- a/include/config.h
+++ b/include/config.h
@@ -334,7 +334,8 @@
/*
* Check for battery in disconnect state (similar to cut-off state). If this
* battery is found to be in disconnect state, take it out of this state by
- * force-applying a charge current.
+ * force-applying a charge current. This option requires
+ * battery_get_disconnect_state() to be defined.
*/
#undef CONFIG_BATTERY_REVIVE_DISCONNECT