Researchers have developed smart sleepwear, embedded with self-powered sensors, which monitor heart rate, sleep posture and breathing. The technology will provide useful information to researchers, as well as the general public, to help improve sleep patterns.