summaryrefslogtreecommitdiffstats
path: root/charger
diff options
context:
space:
mode:
Diffstat (limited to 'charger')
-rw-r--r--charger/charger.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/charger/charger.c b/charger/charger.c
index a6f8509da..595bb6603 100644
--- a/charger/charger.c
+++ b/charger/charger.c
@@ -749,6 +749,7 @@ static void handle_power_supply_state(struct charger *charger, int64_t now)
if (charger->num_supplies_online == 0) {
if (charger->next_pwr_check == -1) {
charger->next_pwr_check = now + UNPLUGGED_SHUTDOWN_TIME;
+ kick_animation(charger->batt_anim);
LOGI("[%lld] device unplugged: shutting down in %lld (@ %lld)\n",
now, UNPLUGGED_SHUTDOWN_TIME, charger->next_pwr_check);
} else if (now >= charger->next_pwr_check) {