The game doesn’t need to be active on regular Android. I’m pretty sure the reason why it’s like that on GrapheneOS is that when the game is killed, the sandbox is killed and the Google Play Services shut down. If Google Play Services aren’t on there, the Recording API will not count steps in the background.
Probably easiest solution is to let WalkScape to run in the background, when it’s freezed the battery consumption should be basically nothing.
Dave@lemmy.nz 2 days ago
That makes a lot of sense.
It’s allowed to run in the background, but I have now disabled battery optimisation and will see if that helps.
schamppu@lemmy.zip 2 days ago
Yeah - battery optimization has tendency to kill apps, even if they’re not consuming resources. If you’re experiencing battery drain from doing this (or if it works fine), I’d appreciate if you send me your findings to our contact email address ❤️
Dave@lemmy.nz 2 days ago
It doesn’t seem to be helping. If I ever work out a more reliable way to get steps counted I’ll let you know. I know some pedometer apps don’t need Google Play Services and use a persistant notification to keep it active, but it seems like quite a significant change from what you currently have which wouldn’t be worth spending time on to appease such a small group of users.
schamppu@lemmy.zip 1 day ago
Before Google released the Recording API, that’s what we used. But it was a huge time sink - with the amount of Android devices and operating systems, there were a ton of device specific issues which were impossible for me to reproduce without buying the models that had these, and we don’t have budget for such.
Pixel devices tended to have battery consumption issues with it, and Chinede devices with battery optimization were killing it very often etc.
If you find some way, I would love to hear about it. In the future we’ll be adding in smart watch support, which could help you to count the steps if you have one.