summaryrefslogtreecommitdiff
path: root/common/charge_state_v2.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/charge_state_v2.c')
-rw-r--r--common/charge_state_v2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/charge_state_v2.c b/common/charge_state_v2.c
index 0ca0974739..7b7687db44 100644
--- a/common/charge_state_v2.c
+++ b/common/charge_state_v2.c
@@ -16,6 +16,7 @@
#include "gpio.h"
#include "hooks.h"
#include "host_command.h"
+#include "lightbar.h"
#include "math_util.h"
#include "printf.h"
#include "sb_fw_update.h"
@@ -608,6 +609,9 @@ void charger_task(void)
battery_seems_to_be_dead = 0;
prev_ac = curr.ac;
}
+#if defined(HAS_TASK_LIGHTBAR) && !defined(HAS_TASK_PDCMD)
+ lightbar_sequence(LIGHTBAR_TAP);
+#endif
}
charger_get_params(&curr.chg);
battery_get_params(&curr.batt);