What it does is to measure from the first interaction to the last, with a 5 minute delay. So if you use the site actively for, say 8 minutes, and then not for at least 5 minutes, it counts 8 minutes.
If you use the site for 8 minutes, then not for 4, and then for 1 minute more, it counts 13 minutes.
Peter