Hi all. I would like to know more about automatic/periodic clearing of usage data because I am planning to use Activity Watch to collect data over a 3 month period. Would I need to export my data monthly/weekly or can I safely export it at the end of 3 months (or even later)? Thanks.
It will be saved forever.
However, if the app is not manually opened once a week, some android versions will not allow activitywatch to monitor your activity for longer than that. So for example if I open the app for the first time in 10 days, the past 7 days will have data while the other 3 could potentially be lost.
Which android versions have this restriction? First Iām hearing about the 7 day limit so I want to make sure Iām either exempt or come up with a work around
ActivityWatch on Android attempts to sync the data after 7 days in the background automatically if the user has not updated the app for the past 7 days. However, some android versions or ābattery savingā modes might hinder applications to run in the background.
So android āversionā is probably the wrong word, some android āforksā/āvendor modificationsā is rather the issue. It would be a lot of work to pin down exactly which vendors and settings cause this unfortunately.
Itās pretty common for android apps to have a āpermanentā notification to prevent the app from being killed or throttled by OS battery saving. Is that something that ActivityWatch could implement to get around this issue? Also would setting the app to āNot Optimizedā under battery optimization in the system settings help?