Three battery tests in two days, and I still can't give you a number I'd put my name to.
Test one: 48 minutes of Google Maps navigation on three seconds of CPU. A triumph, until I realised my fake GPS had nodded off a minute after I unplugged the phone, so Maps was napping along with everything else.
Test two: fixed the GPS, phone stayed awake, and Open Headunit's Self-Mode quietly stopped navigating the moment the screen went dark. Every good screen-off result I'd had before was with the phone plugged into the Mac. I'd been measuring my USB cable.
Test three: my own prototype, 41 minutes from Brecon to Llandovery, unplugged, screen off, arrived without a hitch. Battery used? 0 mAh, because the spare Moto thinks a full battery is 667 mAh and the level sat on 100% the whole way.
What I can say: with the old app an hour's ride cost over a third of my Pixel's charge. With Ridelark I come home with something like 90% left. One rider, one phone, an anecdote rather than a measurement. The closed beta is where that gets proven, or not, on other people's bikes with a real GPS keeping them awake.
And if a tester messages me twenty minutes up the A40 asking whether it's still running... it probably is.
#Android #Motorcycling #IndieDev #BatteryLife
https://phpboyscout.uk/asleep-at-the-desk/