It is also related to the session so if sessions isn't terminated then online time is counted by this timeout, if session is terminated before the timeout then user is considered offline.