Changed how it is determined that a device is active

A devices activeness is now based on when it last called for data
and not when it last issued a log statement.