this post was submitted on 03 May 2024
59 points (95.4% liked)

Selfhosted

40220 readers
1175 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I like the fact that my Android phone records my location timeline from Google Maps, but the fact that this is stored in Google servers creeps me out.

I know you can download the entire location history database from Google so I was planning on building a custom app to store and browse this data.

I was also curious if there would be the possibility of making the phone send locations to this app instead of Google, but I don't know much about Android and I don't know if this would be possible.

What do you think about it? Is there already an app like this? Do you think this is a good idea?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 6 months ago (1 children)

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.

[–] [email protected] 3 points 6 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.