I am working along with a team remotely and our company pays by the hour, however we always have to head over to toggl to log our timings. I am suggesting to build a feature to log each team member time on the workspace. Thanks.
the way to implement this depends on what you consider working, should it count ide open,
Also have a look at https://github.com/wakatime/c9-wakatime which may already work the way you want.
Thank you for you valuable information. Happy coding.