Improving historical device data by granularity