Learn > Events and book sidecars > Sleep-time delivery in detail SLEEP-TIME DELIVERY IN DETAIL When the device goes to sleep and any queued event belongs to an opted-in handler (connect: true or sleep.enter): 1. If Wi-Fi is off, battery >= 20 % and a saved network is in range, a popup shows, Wi-Fi joins (10 s deadline), and the queue drains. 2. Everything queued for that plugin rides along, including events from handlers without connect. 3. The sleep screen is drawn after the drain, so a sleep.enter download to /sleep.bmp appears on that same sleep (with the sleep screen set to Custom). 4. Sleep is never blocked: low battery, no network, or a failure just means the next drain. Because of at-least-once delivery, a late retry can happen hours later. Check {event.ts} if timing matters. sleep.enter also carries the current book and percent, because the reader's own reader.exit is queued after the sleep drain. Binding progress sync to both sleep.enter and reader.exit pushes the latest position right away. End of this folder.