Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db982b06 authored by Dima Zavin's avatar Dima Zavin Committed by Android Git Automerger
Browse files

am 73531557: Revert "charger: show animation when the device is unplugged"

* commit '73531557':
  Revert "charger: show animation when the device is unplugged"
parents 01851eac 73531557
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -821,7 +821,6 @@ 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) {