The current location share without end DRAINS A LOT the phone battery.
An option to enable dynamic location collection (when we use share location forever).
The idea:
I share with one person or group my location.
Start to share as current way (10 seconds? I really do not know) ( using precise location), if I am in same place after 10 minutes... change to 1 time per minute.
After 60 minutes... check if someone (group or person) open this information, if no one is looking... change to 5/10 minutes...
After 120 minutes... check if someone is looking this information... if no... change to 15 minues.
If in any collection of this information... I change more than 500 meters my location for more than 5 minutes... change back to first stage.
The IDEA here is DRAIN LESS BATTERY... because this option is really very good for familys ... BUT... without phone battery for runs my android... simply does not work...
I make many tests and see if I change the permission for telegram does not get PRECISE LOCATION... this problems ENDS... BUT... my location is completly wrong... so... the precise location interval collection IS THE PROBLEM.
Telegram uses more battery currently with precise location instead, for example, STRAVA APP... and strava app is a app for record all places I go when i'm runing or riding... so someting really need to be changed.
PLEASE... your app and this function are GREAT ONES !!! But... I need to solve this to avoid need to find another app for this function.
Look so much time/energy used by TELEGRAM and I NOT GO TO STREET... I only stay in my home... And I almost not open telegram app... this is he running in background...