Tech stuff and randomness
I’ve got a couple of Pimoroni’s excellent LiPo SHIM for Pico . When soldered to a Pico they allow a LiPo battery to be connected, or USB power, and if the latter then the battery is charged. There’s also a power button, which is a bonus.
I wanted to programattically determine charge level, which it appears is done by reading voltage which diminishes as battery level reduces, and found a seemingly ready-made script here .