summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2021-03-11 18:03:44 -0700
committerCommit Bot <commit-bot@chromium.org>2021-03-12 22:22:11 +0000
commitc8eb3936e5360eff30786ee0f2080e0f6aee3884 (patch)
treef46ba71df2841cad1487fab441bff9d54339bf19
parentf7a1e8c327024197c0c6cedee8f4efc72e9d53b4 (diff)
downloadchrome-ec-c8eb3936e5360eff30786ee0f2080e0f6aee3884.tar.gz
zephyr: volteer: Enable battery cut-off
Battery cut-off was disabled because it caused problems when the battery capacity reached 99%. Battery cut-off is no longer causing any charging issues. BUG=b:179393708 BRANCH=none TEST=Discharge battery to 90%, charge to 100% successfully TEST=Run `ectool batterycutoff`, verify battery cutsoff Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: Ied8fa9478ff0360f4077225317d8ae4ad69598d1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2756968 Reviewed-by: Simon Glass <sjg@chromium.org> Commit-Queue: Simon Glass <sjg@chromium.org>
-rw-r--r--zephyr/projects/volteer/prj.conf4
1 files changed, 1 insertions, 3 deletions
diff --git a/zephyr/projects/volteer/prj.conf b/zephyr/projects/volteer/prj.conf
index a93ac4a56a..0eaf8e78ff 100644
--- a/zephyr/projects/volteer/prj.conf
+++ b/zephyr/projects/volteer/prj.conf
@@ -39,9 +39,7 @@ CONFIG_PLATFORM_EC_VOLUME_BUTTONS=y
CONFIG_PLATFORM_EC_BATTERY=y
CONFIG_PLATFORM_EC_BATTERY_SMART=y
CONFIG_PLATFORM_EC_BATTERY_FUEL_GAUGE=y
-
-# TODO(b/179393708): re-enable cut-off once working again
-CONFIG_PLATFORM_EC_BATTERY_CUT_OFF=n
+CONFIG_PLATFORM_EC_BATTERY_CUT_OFF=y
CONFIG_PLATFORM_EC_BATTERY_HW_PRESENT_CUSTOM=y
CONFIG_PLATFORM_EC_BATTERY_REVIVE_DISCONNECT=y