ESPhome / deepsleep / API: works when the device is plugged in but not when on battery

Hi, I read somewhere that the tailbat also goes into sleep mode if no current is drawn for a specific time (I think it was 30 sec or 1 min?). That means you need to wake up sooner than that for a short time to reset the timer. That should fix it.