organicmaps / organicmaps

🍃 Organic Maps is a free Android & iOS offline maps app for travelers, tourists, hikers, and cyclists. It uses crowd-sourced OpenStreetMap data and is developed with love by MapsWithMe (MapsMe) founders and our community. No ads, no tracking, no data collection, no crapware. Please donate to support the development!
https://organicmaps.app
Apache License 2.0
9.75k stars 934 forks source link

[android] Show the Power Saving disclaimer before starting the track recording #9319

Open rtsisyk opened 3 weeks ago

rtsisyk commented 3 weeks ago

The current master as of today shows the power saving disclaimer after 30 seconds if no location. Probably it would be better to restore original behaviour where a power saver disclaimer was shown before starting any track recorder.

vng commented 3 weeks ago

One more setting that prevents track service working normally: telegram-cloud-photo-size-2-5445306426206577544-y

vng commented 3 weeks ago

Here is one more Batter Settings on Samsung. User says that Optimized works ok (but not Restricted). telegram-cloud-photo-size-2-5445194477884007206-y

vng commented 3 weeks ago

And this is not only about Samsung, here is a Pixel screenshot: telegram-cloud-photo-size-4-5801902846235489136-w

So my conclusion is that we should detect it and show a Warning immediately, but not within 30 seconds into push notification (who reads these notifications?).