Is there a good way to measure the total time a device has been used? I have used this code to get the amount of time a device has been used, but this only gets me the total