summaryrefslogtreecommitdiff
path: root/test/sbs_charging_v2.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/sbs_charging_v2.c')
-rw-r--r--test/sbs_charging_v2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/sbs_charging_v2.c b/test/sbs_charging_v2.c
index e266e59215..a41c8205d5 100644
--- a/test/sbs_charging_v2.c
+++ b/test/sbs_charging_v2.c
@@ -36,6 +36,11 @@ static void reset_mocks(void)
shutdown_warning_time.val = 0ULL;
}
+int board_cut_off_battery(void)
+{
+ return EC_SUCCESS;
+}
+
void chipset_force_shutdown(enum chipset_shutdown_reason reason)
{
is_shutdown = 1;