⚠ Rendering errorCould not get a 2D canvas context. Try reloading.

Doze Mode Wake-Lock Budget Simulator (2D)

Every background app on a mobile OS wants CPU and radio time, but letting them all wake independently drains the battery fast. This simulator models the resource governor that actually prevents that: Android's Doze idle maintenance windows, spaced by an exponential back-off schedule, that batch queued wake-lock requests from every app into short shared bursts. A radial gauge shows the countdown to the next window, a scrolling per-app timeline shows every request queue and fire, and a live chart tracks the battery level over time. Tune how many apps are running, how often each one wants to wake, and how far apart the maintenance windows start out, then toggle Doze off to watch the same workload's drain rate — and the battery trace's slope — get steeper once every app is free to wake whenever it wants.