diff options
author | Yuval Peress <peress@google.com> | 2022-03-01 23:38:57 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-03-07 23:40:56 +0000 |
commit | 8bd5b2f401e3259113fa46256abeca8cf0d7b277 (patch) | |
tree | ba7175f32165874fd7283f643c52e1ca26595c9e /include | |
parent | 4edbbedc5d4996cc26a76c9ce305bff79c86a155 (diff) | |
download | chrome-ec-8bd5b2f401e3259113fa46256abeca8cf0d7b277.tar.gz |
zephyr: test: Add tests for chgstate idle command
Add tests to verify both on/off cases of the idle command
BRANCH=none
BUG=b:221471404
TEST=zmake configure --clobber --test test-drivers
Signed-off-by: Yuval Peress <peress@google.com>
Change-Id: I02ae8a70e8b1d8eddaf4c06961ad2189a1fb4cfb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3500122
Reviewed-by: Al Semjonovs <asemjonovs@google.com>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/charge_state_v2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/charge_state_v2.h b/include/charge_state_v2.h index dc54ac5a89..bf2fd28971 100644 --- a/include/charge_state_v2.h +++ b/include/charge_state_v2.h @@ -211,4 +211,6 @@ void charge_problem(enum problem_type p, int v); struct charge_state_data *charge_get_status(void); +enum ec_charge_control_mode get_chg_ctrl_mode(void); + #endif /* __CROS_EC_CHARGE_STATE_V2_H */ |