By Calculating the time , the browser was suspened , so for each second it was suspened the points can be added is the most efficient way i assume. I have tried out all combinations for that but it doesnt seem to work. can you help me out with it ? Thanks .