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

Often writes to twt_automatic_backup files when not used #282

Closed Catfriend1 closed 7 months ago

Catfriend1 commented 7 months ago

Hi,

Thanks for the companion I use since years :). I am on the latest fdroid release on Android 14. But this also occurered on older Android versions as well.

When I do not use the app, it writes every X minutes to the backup files. I would suggest it should not do this when I am not clocked in = no notification of TWT is present as data does not change when the app is unused. Maybe this also saves some battery then, because the phone cpu has to wake to do the backup of unchanged event data.

Thanks.

Regards, Catfriend1

mathisdt commented 7 months ago

Thanks for your report! Unfortunately I can't reproduce the issue, on my devices and simulators the backup files are only written once a day (as it should be). Could you send me your log file (maybe after redacting it for your privacy)? Here's how that works.

Catfriend1 commented 7 months ago

Hmm indeed, today it only backed up at 09.58, yesterday was 8.40. i'll observe...