Comment on App Idea: Location History
anzo@programming.dev 8 months ago
Been there, the issue I encountered is that most other apps would rely on active GPS and drain battery with it. Also, not many apps can access the GPS without a prompt, at least on xiaomi I had that… Maybe it’s something to do with their OS customization… Anyway, Ideally you’d like to access in intervals and only wake GPS if other means (e.g. WLAN passive scan of surrounding SSIDs, like google services does) lack certain accuracy.
paf@jlai.lu 8 months ago
On your Xiaomi first time you launched app, you can determine wether you always allow or allow on prompt (but you should still be able to manage that setting afterwards). You also need to disable battery optimization for that app and set app to be able to auto launch in background. This is at least what I do with my home assistant app to determine GPS location in background (app record every 15mn) and no issues with battery draining.