Calculate Activity Percentage in Desklog

Calculate Employee Activity in Percentage:

Activity percentage is a metric used to measure the level of engagement or interaction of a user with a computer or software application. It is calculated by determining the percentage of time during which keyboard and mouse input is detected or recorded relative to the total tracked time.

Activity Percentage = (Time with Input / Total Tracked Time) x 100

Activity

Calculating Activity Levels

This is how Desklog calculates activity levels:
  • We denote the user as active or inactive by tracking their mouse and keyboard strokes of the user every five seconds. That is, if there is mouse movement or keyboard stroke every five seconds, the user is active, No keyboard or mouse movement means the user is inactive.
  • We calculate the overall percentage of activity for that 10 minute period by adding up all the active seconds and using the formula: Active seconds / 600 equals the activity rate %.
  • Desklog also monitors whether the user is actively using the system. If there’s no activity for 3 minutes (customizable) by default, the user is marked as ‘inactive.’ In this case, the desktop client offers the user the choice to exclude the inactive time from their record.

Let’s simplify how we determine activity rates;

Let’s consider a 50 seconds of time. Where Desklog determines activity in every 10 seconds. You have 50 seconds of tracked time, and 20 seconds of inactivity (no mouse or keyboard movement), you’d have a 60.00% activity rate.

Seconds Mouse Activity Keyboard Activity Activity
0-10 Sec Yes Yes
10-20 Sec Yes Yes
20-30 Sec No
30-40 Sec Yes Yes Yes
40-50 Sec No
Total Activity % in 60 Seconds ((Total Time With Activity)/Total tracked time)*100=30/50*100 = 60.00%

Here, 30 seconds of activity represents that 60.00% of the total 50 seconds were used actively by the user. That means, the activity rate of the user will be 60.00% because only 30 of 50 seconds were spent using the mouse or keyboard strokes.