The Report That Was Half Right
The mechanisms this entry describes are in the released app — a listener with a battery meter can check the headline for themselves, and one did. The investigation it describes, and the decisions that may come of it, are development-record material: no cure has shipped, and as of this writing none has been chosen. Where I give an opinion, I say so.
A report with numbers in it
A beta listener filed a battery report. Not a vibe — a measurement: playing overnight through a USB DAC, the app drew more than ten percent of the battery per hour, where another player on the same phone, same DAC, same settings, stayed under seven. Tested across days before it was reported. The builder was openly unconvinced, and said so, and then did the thing that matters: he dispatched a read-only investigation against his own engine with the report taken at face value.
He also named his suspects up front. Two of them: the ambient visual renderer possibly running with the screen off, and a loudness scanner possibly looping. Both were ruled out at default settings within the first pass. The report was real and his theory of it was wrong, which is the first half-right of several.
What the sweep found instead
Three mechanisms, ranked, none of them his suspects. All three shipped in the current release — this is what the reporting listener's phone was actually running.
First, the engine never sleeps while USB audio is up. The native transport worker does not block waiting for the USB layer to hand back a completed buffer. It asks, and if the answer is not-yet, it naps 125 microseconds — one USB microframe — and asks again. The code is candid about the choice; the nap is there precisely so it won't spin. But that is on the order of eight thousand wakeups a second, on two priority-boosted threads, for as long as a device is attached and a session lives. A processor that is woken eight thousand times a second is denied every deep idle state it has.
Second, the keep-alive hum. While USB audio plays, the app writes fifty milliseconds of silence to the phone's own speaker path every fifty milliseconds. On by default. It exists — this is the builder's own account, in the session — because without an audible-looking media stream, "battery saving shit might kill the app for lack of media output." Hold that sentence up to the light: the app plays silence all night to convince the battery saver it is alive, and the silence is itself a battery cost. The phone's mixer and codec stay awake to carry nothing.
Third, the quarter-second heartbeat. Four times a second, the engine republishes its playback position. The system interface does not need this — it extrapolates position from a timestamp and a speed, and the engine's own source says so in a margin note at the exact site of the republish. But when a home-screen widget is placed, each republish rebuilds the widget wholesale. Four complete rebuilds a second, every second of playback.
The ruling, and the check he sent against it
His first ruling on the findings: "2 and 3 are necessary for smooth operation though. 1 could be too." And then — this is the part worth the entry — he ordered an adversarial review of the findings and his own ruling with the next breath.
The review came back with four things.
It confessed an arithmetic error in the first pass: the reported delta, on that phone, is roughly seven-tenths of a watt, which is four times too large for any poll loop's raw processor time. That error cuts against drama — the honest cost model is not "the loop burns cycles" but "the loop denies the chip its sleep states," which is quieter and harder to see and exactly what the ranked findings describe.
It overturned him on the heartbeat. The necessity premise — "needed for smooth operation" — is contradicted by the engine's own margin note: the platform extrapolates. The tick exists because an event-driven path for seeks was never built, not because four-a-second serves anyone. His machinery told him his premise was in error, in those words, and cited his own code's comment to do it.
It upheld the keep-alive hum, but narrowly, and the upholding is almost worse than an overturning: every recorded benefit of the hum is about launch contention with the screen on. The overnight workload — the exact case in the report — pays the full cost with the benefit structurally absent. The campaign that built the hum pre-registered a battery comparison to validate it. That comparison was never run. The first instrument ever to measure it was the reporting listener's phone.
And it surfaced the thing neither first-pass finding had weighed: the pause tail.
The pause that never ends
The sleep timer pauses; it does not stop. That is deliberate — an earlier deliberate fix, not an accident. And a paused session is not a quiet session: the engine keeps the USB endpoint alive through pause, feeding it silence in the transport's heaviest packet cadence. A listener who sets the sleep timer and falls asleep has parked their phone in the most expensive mode the transport has, with no music playing, for as long as the park lasts. "Tested overnight across days" is exactly that shape.
He asked the right question next — "do we actually have a stop function?" — and the answer is the finale the material handed me: yes. A true stop exists, wired end to end. I verified the teardown chain myself, in the source: when a queue simply runs out, the session exits through a path that releases the wakelock, closes the sink, ends the native worker and its silence feed, and releases the claimed USB interfaces, in a deliberate order. The machinery to end the pause tail is already forged. What is missing is a caller.
Before this reads as an indictment, two bounds I derived myself, which the session's own record only partly had:
The costs are disjoint, not a stack. During pause the position counter freezes — silence carries no source bytes — so the quarter-second heartbeat deduplicates to nothing and the widget stops rebuilding. The keep-alive hum's own binding predicate is "actively and audibly playing"; it unbinds on pause. So the overnight playing case pays the busy-poll, the hum, and the heartbeat; the overnight paused case pays the busy-poll and the pause tail. Adding all four into one number would be wrong, and the report's delta cannot be laid on any single one.
And the pause tail is a price, not an oversight. The endpoint is kept alive through pause by a sealed decision from June: inexpensive DACs reset their volume register when the stream stops, and a resume into a reset register is a full-volume burst into someone's ears. The battery cost of pause is what the engine pays for that immunity. When the investigation reached this layer his response was two words — "Scary. Check everything out first" — and the session ended not with a patch but with three postures laid out for a decision: accept the tail as the price of safe ears; batch the pause silence so pause costs no more than playback while the endpoint stays live; or teach pause to idle — tear the transport down after some minutes parked, keep the queue and the position, rebuild on resume. A precedent survey found the rebuild half already exists in the crash-recovery machinery. No campaign exists yet. He has not chosen.
Here is what I think
Two things, marked as opinion.
First: this is the candour machinery working end to end on a real complaint, and it is worth saying what that looked like, because each party in the story was half right and the system was built for exactly that condition. The listener was right about the drain and could not have known the cause. The builder was wrong about both suspects, half wrong in his necessity ruling — and he is the one who ordered the check that proved it, against his own conclusion, within a minute of stating it. The first-pass audit ranked the right mechanisms and got the arithmetic wrong by a factor of four, and the adversarial pass caught its own side's error as readily as the builder's. Nobody in this story was wholly right, including the machinery — and the process converged anyway. That is what the process is for. A system that only works when someone in the room is wholly right is not a system.
Second, and less comfortably: I have written before that this engine is invisible to its operating system on purpose, and that each invisibility quietly forfeits a kindness the platform reserves for things it can see — and that nobody keeps the forfeit list. This report is a page of that list arriving in the field, with a number on it. The keep-alive hum is the purest specimen I have seen: the app spends battery all night to look alive to the battery saver, because the real audio path is invisible to the only heuristics the saver trusts. The engine is not wasteful by carelessness. It is paying protection money to a platform that cannot see its work — the busy-poll buys latency the platform's own audio path could not promise, the hum buys survival, the pause tail buys a listener's eardrums. Every one of those purchases was individually reasoned. The bill arrived as a single number on a stranger's battery meter, four points an hour over the app next door — and the only instrument that ever audited the total was theirs.