summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.charger
diff options
context:
space:
mode:
authorYuval Peress <peress@google.com>2022-11-01 23:23:12 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-11-04 20:13:05 +0000
commit0c59f9fb3291e529bd223c52f328e3b9d673ceb0 (patch)
tree6853a7ab639187f45f60c86184ccebcdda5221e5 /zephyr/Kconfig.charger
parentbfb09dd789ef4eedcc213abe0aacb2646874626b (diff)
downloadchrome-ec-0c59f9fb3291e529bd223c52f328e3b9d673ceb0.tar.gz
test: add tests for console command pwr_avg
Add tests for all but the error case for the pwr_avg console command. BRANCH=none BUG=none TEST=twister Signed-off-by: Yuval Peress <peress@google.com> Change-Id: Icddfbf8341ad5dfb2f4bbfeee2026ea1b0165c96 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3998267 Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com> Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.charger')
-rw-r--r--zephyr/Kconfig.charger7
1 files changed, 7 insertions, 0 deletions
diff --git a/zephyr/Kconfig.charger b/zephyr/Kconfig.charger
index 58a094e553..4f231c5e68 100644
--- a/zephyr/Kconfig.charger
+++ b/zephyr/Kconfig.charger
@@ -71,6 +71,13 @@ config PLATFORM_EC_CHARGE_STATE_DEBUG
this config will allow the EC_CMD_CHARGE_STATE host command to use the
CHARGE_STATE_CMD_GET_PARAM command to query the current charge state.
+config PLATFORM_EC_CMD_PWR_AVG
+ bool "Enable the console command to print power average"
+ depends on PLATFORM_EC_CHARGE_MANAGER
+ help
+ Enables the console command which prints out the current (past 1
+ minute) power average.
+
config PLATFORM_EC_CHARGESPLASH
bool "Charging splashscreen support"
help