When is SensorHistory populated

When is the Sensor History populated? In other words when does the device add to the history? For example if I use my device in watchface mode all day when does it use the pressure sensor and add to the history? ta