I have a Service that uses LocationListener, and it will work from download for an indefinite period. My question is, how often is it too often to listen to location updates? Is 5 minutes a battery killer? What about 1?
Yes, 5 minutes is a battery killer. I would not use an interval of less than 1 hour. It also depends on the location provider (network or GPS). GPS eats your battery much faster thanks to the network.
http://developer.android.com/reference/android/location/LocationManager.html#PASSIVE_PROVIDER, , .
, GPS ( , , ).
Source: https://habr.com/ru/post/1768084/More articles:MySQL multiple searches - mysqlΠΠ΅Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ ΡΠ²ΠΈΠ΄Π΅ΡΡ Π·Π°ΠΏΠΈΡΠΈ JMX Π² jconsole ΠΏΡΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠΈ ΠΏΡΠ»Π° ΡΠΎΠ΅Π΄ΠΈΠ½Π΅Π½ΠΈΠΉ Tomcat JDBC - javaMYSQL comparison on join problem - mysqlSQL JOIN help for SQL Server - sqlJavascript, local copying of a variable value ... struggling to achieve it - javascriptSkype to Eclipse via ECF - skypeGetting the NumericUpDown value moves the carriage position, can I stop this? - c #Does && in C ++ behave the same as && in Java? - javaCom Exception: Word Π½Π΅ ΡΠΌΠΎΠ³ ΠΏΡΠΎΡΠΈΡΠ°ΡΡ ΡΡΠΎΡ Π΄ΠΎΠΊΡΠΌΠ΅Π½Ρ. ΠΠ½ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΠΏΠΎΠ²ΡΠ΅ΠΆΠ΄Π΅Π½ - asp.netEntity Framework LINQ-ΠΏΡΠΎΠ΅ΠΊΡΠΈΡ Π² ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»ΡΡΠΊΠΈΠΉ ΡΠΈΠΏ ΠΏΡΠΈΠ²ΠΎΠ΄ΠΈΡ ΠΊ ΠΎΡΡΡΡΡΡΠ²ΠΈΡ Π΄Π°Π½Π½ΡΡ - c#All Articles