The Hubstaff app is smart enough to only count time when your team is actually working.
Time tracking options
Configure the app to track time based on your company's needs. You can even change the settings by user.
You can set the threshold for when the app stops tracking time and control what happens to the idle time.