A QR-connected WhatsApp number that drops at the same hour every day is losing its phone. The QR connection is a linked device, the same mechanism as WhatsApp Web on a laptop. The session depends on the WhatsApp app on the phone that scanned the code. WhatsApp says that when the primary phone “is inactive for a long period, we automatically log you out of all companion devices” (WhatsApp blog, April 2023). Whatever the phone does to WhatsApp overnight shows up in the session the next morning.
Daily drop or random drop: read the timestamps first
Export the disconnect events for the last two weeks and convert them to the phone’s local time zone, not your server’s. A daily drop lands inside the same hour, give or take, on most days. That hour usually matches something the owner does with the phone. They put it down for the night, let the battery fall into a saving mode, switch it off, or unplug it in the morning. A random drop has no shape. The times spread across the day and the session often returns within minutes. The cause sits in the phone’s own events at those moments: a restart, an app update, a change of network.
A third shape is a drop that coincides with someone else using the number. WhatsApp allows one primary phone plus “up to four additional devices” (WhatsApp blog). Registering the number on a new phone moves the account there. WhatsApp asks users not to “repeatedly switch between different devices and numbers”, because “at a certain point, you may be blocked from re-verifying your account” (WhatsApp Help Center). If a drop matches a colleague logging in on a second phone or a laptop, you have found it.
What Android does to WhatsApp at night
Android’s Doze mode starts when the user “leaves a device unplugged and stationary for a period of time, with the screen off” (Android developer docs). In Doze the system “suspends network access” for apps. The same page describes App Standby for apps the user has not opened recently: “the system allows idle apps network access about once a day.” A phone that sits in a drawer with WhatsApp never opened is the first candidate for a drop with a daily rhythm.
Phone makers add their own layer. Samsung’s Background usage limits live under Settings > Battery and device care > Battery (Samsung support). They include a “Put unused apps to sleep” switch and a Deep sleeping apps list for apps that “will never run in the background. They’ll only work when you open them.” Google’s Battery Saver “limits or turns off background activity” and can run on a schedule under Settings > Battery > Battery Saver (Google Android Help). A scheduled Battery Saver that switches on at a fixed hour is the first thing to compare with your drop hour.
What iOS does
Low Power Mode “turns off Background App Refresh”, automatic downloads and email fetch (Apple support). It switches itself off when the phone is “charged to 80% or higher”. An owner who turns it on every evening when the battery runs low has a phone whose background activity stops at night and returns after the morning charge. Compare that cycle with your drop times. On iPhone 15 and later the switch is under Settings > Battery > Power Mode; on earlier models, under Settings > Battery.
What to change on the phone
- Android: open Settings > Battery > Battery Optimization and exempt WhatsApp. Android documents this as the user-side list of exempted apps (Android developer docs).
- Samsung: in Background usage limits, add WhatsApp to Never sleeping apps. Turn off “Put unused apps to sleep” if the phone exists only to hold this number.
- Any Android: check Settings > Battery > Battery Saver for a schedule and remove it.
- iPhone: keep Low Power Mode off and Background App Refresh on, under Settings > General > Background App Refresh.
- Keep the phone plugged in, on Wi-Fi, and open WhatsApp on it once a day, so the primary phone is never “inactive for a long period”.
Where the connection state lives
Read the state from your provider’s connection events instead of inferring it from failed sends. A send that fails because the session is gone looks like a send that fails for any other reason. You also lose the timestamp that tells you which kind of drop you have. Z-API Omni emits CONNECTED and DISCONNECTED events on the channel webhook for its WhatsApp Web channel (channel webhooks). Write both to a table with the UTC time and the phone’s local time. The daily pattern shows up within a week.
What to send to support
Send the facts the provider cannot see: the disconnect timestamps in UTC and the phone’s time zone, and the phone model and OS version. Say whether the phone was powered off, charging, or on Battery Saver or Low Power Mode at those times. Add a screenshot of Linked devices in the WhatsApp app on the phone, so support can see how many sessions share the number. Say whether the phone showed a logged-out notice. Include the number or channel identifier and the webhook bodies of the last three DISCONNECTED events. With those, the provider can tell a phone-side logout from a problem on its end in one pass.
If it still fails
If the drops continue after the phone is exempted, plugged in and opened daily, look at the pattern again. A drop that is no longer daily has a different cause. The next suspects are another linked session on the same number, or a re-registration of the number on a different phone. If the number cannot depend on a phone at all, that is the case for Meta’s official API, which does not run through a device. The trade-offs are in QR connection vs Meta’s official API.
Z-API Omni team