I need to know how long each user is logged into the ChromeOS Device each day. It must be a total amount of time per day for each user. Each user is assigned a specific ChromeOS device, so I’m pulling activeTimeRanges by device.
Currently I’m using some version of gam print cros basic query asset_id:xxxxxx fields activetimeranges
. This is giving me a duration per day, as I expected. However, I’m questioning whether this is giving me the information I need. The API documentation defines activeTimeRanges.activeTime as Duration of usage in milliseconds. After comparing the data I’m pulling to other data I have access to, I’m wondering how “usage” is defined. I took it to mean a user is logged in. However, it seems to have more to do with the user actually clicking/interacting with content. It seems if the user is logged in, but idle, that time isn’t counting.
Can you explain how the activetimerange is determined?
Is there some other way to find the total duration during the day when the device is logged into?