Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track inactivity time #45

Open
huntfx opened this issue Feb 9, 2018 · 1 comment
Open

Track inactivity time #45

huntfx opened this issue Feb 9, 2018 · 1 comment

Comments

@huntfx
Copy link
Owner

huntfx commented Feb 9, 2018

The code exists to mark inactivity (to disable saving), but it could be adapted to track the time active/inactive, so it doesn't affect the overall track time, but gives more accurate stats.

@huntfx huntfx self-assigned this Feb 9, 2018
@huntfx
Copy link
Owner Author

huntfx commented Apr 30, 2018

Done a bit of work on it and it'll count inactivity for the particular session. I'll add in an overall inactivity count, and also compensate for the threshold (eg. if threshold is 60 seconds, then after 60 seconds, remove 60 seconds from active time and add 60 seconds to inactivity time).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant