I have an app runs in a background service all the time (only when screen is on), and on a regular intervals (1-10 minutes) records a how long the interval time was and whether it was a good or bad interval. At the end of each day I take these counts of good and bad intervals and record it to a csv file.I have an app runs in a background service all