fbartheit / android-app

0 stars 0 forks source link

Ajdust energy calculations based on the time #4

Open fbartheit opened 7 years ago

fbartheit commented 7 years ago

What happens when user is not cycling, what gets read from the sensor? When user is not cycling, time is "going", but the user is not doing anything sometimes, and the time is also "going" then. That time of user's inactivity should be detected and excluded from average and total power calculations. Implement detection between the separate reads from the sensor, and sum that time, and then extract it from the total time.