mathisdt / trackworktime

Android app to track your work time via WiFi or location and categorize each recorded intervall by a predefined client/task and a free text.
https://zephyrsoft.org/trackworktime
GNU General Public License v3.0
136 stars 30 forks source link

Make location search interval configurable #272

Open carnager opened 8 months ago

carnager commented 8 months ago

While wifi scanning can be set to a custom interval, location based scanning does not have such option. Having the ability to change this could have some impact on battery usage.

Update: maybe also an option to have a period when gps is checked less frequently. E.g. I normally start at 7 or 8 and leave around 4. So make the app check for gps at a lower rate between 9 and 3.

And also it would be great if one could choose periods where it does not scan at all, e.g. at night

mathisdt commented 8 months ago

There is the constant REPEAT_TIME used here which should be flexibilized by this.

Intervals of less than a minute don't make sense because the time resolution of the app is only minutes, not seconds.

carnager commented 8 months ago

Nice, seems an easy addition in this case. And yeah I was more thinking about 10 minute intervals or something.

Ideally one would be able to device times. Updated original post