Sleep duration was linked to an increased risk of developing high blood pressure, according to research.