summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@google.com>2017-07-16 09:58:10 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-07-16 17:58:18 -0700
commitba4a67558ae76c1fe3b864eb18a5c6da6fbba666 (patch)
tree71c013205aa7d3a91214cbb0be8b97b4839b4e61
parentaba3ad4faf40e6fdb1407c8e772a5eab66c2e01b (diff)
downloadchrome-ec-ba4a67558ae76c1fe3b864eb18a5c6da6fbba666.tar.gz
eve: Remove discharge-when-full state
With the bd99954 charger we do not need to discharge when full, so remove this config option and the setting of 94% for "full" battery. Note that this only affects the battery reporting state, the EVT systems (board <= 4) will still discharge when full (in order to prevent the charger noise) but they will now indicate that they are discharging in this state instead of appearing full. Newer boards (version > 4) will behave as expected. This is a compile time option so it isn't something I can easily support old boards with, but I think it is more important to do the right thing for new boards. BUG=b:35585628 BRANCH=eve TEST=test charge behavior when full on board version 6 Change-Id: I3dd46ae305107b17b3bf8e3ce71578d3400b0f79 Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: https://chromium-review.googlesource.com/573091 Reviewed-by: Shawn N <shawnn@chromium.org>
-rw-r--r--board/eve/board.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/eve/board.h b/board/eve/board.h
index 21ec722762..538b20371c 100644
--- a/board/eve/board.h
+++ b/board/eve/board.h
@@ -81,7 +81,6 @@
/* Battery */
#define CONFIG_BATTERY_CUT_OFF
#define CONFIG_BATTERY_DEVICE_CHEMISTRY "LION"
-#define CONFIG_BATTERY_LEVEL_NEAR_FULL 94
#define CONFIG_BATTERY_PRESENT_CUSTOM
#define CONFIG_BATTERY_REVIVE_DISCONNECT
#define CONFIG_BATTERY_SMART
@@ -114,7 +113,6 @@
#define CONFIG_POWER_BUTTON_X86
#define CONFIG_POWER_COMMON
#define CONFIG_POWER_SIGNAL_INTERRUPT_STORM_DETECT_THRESHOLD 30
-#define CONFIG_PWR_STATE_DISCHARGE_FULL
/* Sensor */
#define CONFIG_MKBP_EVENT