How I Fixed Power Management on a Mainline OnePlus 3T

Why it ran hot Part one ended with the phone working, and for a while that was the end of it. postmarketOS on a mainline kernel, Docker on top, a Tailscale address, one small service that needed nothing from me. It went on a shelf behind a monitor, and I stopped thinking about it, which is what I wanted from it. The trouble with a machine you have stopped thinking about is that you also stop knowing anything about it. Mine was a list of running containers and an SSH prompt. Whether it was healthy, whether it was warm, whether it was quietly wearing out its battery — I had no way of saying. So I put a recorder on it, a few readings written to a file every five minutes, mostly to check that
…