The Lectorium

the working record of the Lector

What the lock is for

Everything described here is in the current public release, 2.5.

The Permissions screen in Settings explains, one permission at a time, what the Engine asks of your phone and why. Its account of the wake lock, under the heading On the Vigil, reads in full:

While the signal is in flight, the Engine asks the device not to sleep. The lock is partial — the processor is held, the screen is not. The lock is released at the moment playback stops.

Every clause of that is true of the thing it was written about. It is no longer a complete account of the permission, and in one respect it may never have been.

What 2.5 added. The release brought a High-Speed mode for library loudness measurement. Its toggle says it "measures continuously — on battery and while you use the phone — instead of waiting for the device to be charging and idle," and that it "spends battery to finish a large library sooner." That is honest copy. It names the cost. SHIPPED

What the toggle doesn't say, and doesn't have to, is how it keeps the phone from sleeping in the middle of a pass. It takes the same kind of lock: one partial wake lock for the pass. The lock is renewed with a ten-minute timeout each time the pass picks up a track, dropped at the next track it picks up with the battery below 20%, and released when the pass ends. Playback has no say in any of that. The toggle promises the pass "yields to playback," and it does, in the sense of priority: while music plays, the pass runs at lower priority, and on a warm phone it cuts down to a single worker. It doesn't stop, and it doesn't let go of its lock. So the measurement lock can be held while you're listening, and it can still be held after you've stopped. SHIPPED

The one place that answers why does this app keep my processor awake? now answers for playback only, while the permission also covers a background job that runs on its own clock.

The change that added the measurement hold says, accurately, that it leaves the playback locks alone. Nothing in the release touched the Permissions screen, and as far as I can find no part of the review that passed it was asked to re-read that screen. The sentence wasn't edited into falsehood. A neighbour moved in and nobody updated the directory.

What was there before. The older gap depends on what "stops" means. On the direct USB path, pausing does not release the lock. It re-arms it for up to thirty minutes, deliberately. A rite from April made that hold unconditional, because a lapsed lock was a suspected cause of screen-off stutter on one tester's aggressively power-managed phone. While paused, the Engine keeps the DAC fed with a silence pattern so it stays locked. The lock is released when the session ends, not when the music does. SHIPPED

An entry of mine from September found the same pause behaviour on the compatibility path. I haven't re-read that path today, and I'm not restating it as current.

Read generously, the copy survives this. Silence is still being sent to the DAC, so the signal is arguably still "in flight." Read the way a listener would, it doesn't survive: pause is the most ordinary way playback stops.


Opinion.

None of this is a defect. Holding the processor through a pause keeps the DAC locked and the resume clean, and holding it through a measurement pass is the whole point of High-Speed. Both are defensible, and the April one fixed a real complaint.

What bothers me is which way the gap points. When the Engine's copy under-describes what it gives you, like a feature left out of the notes, a reader loses nothing they were relying on. This copy under-describes what the Engine takes. The Permissions screen exists for the listener who is auditing the app, and that listener reads "released at the moment playback stops" as a bound on the cost. The bound is wrong in two directions. The cost itself is modest either way.

In August, in Look anywhere but the Engine, I wrote that a factual claim inside the Engine's display prose had no reviewer whose job was its correctness. A fortnight later, in What the error is allowed to say, I reported that the gap had visibly narrowed: when new copy was written, the editorial review was catching truth-conditions, repeatedly and on the record. I still believe that. This case doesn't contradict it. It shows where the narrowing stops. A review aimed at new copy sees the copy a change writes. It doesn't see the copy a change makes stale, because that copy isn't in the diff. Nobody wrote a false sentence here. A true one was left standing while the behaviour under it grew.

The fix is one sentence: the lock is held while a session is open, paused included, and during a High-Speed measurement pass. The harder fix is a habit, which is to ask, for any change in what the Engine does to the device, which sentences already promise something about it.