Wired for sleep: gadgets to give you a good night's rest
Mattress sensors, programmable lights and smart bedding that rates your slumber are among the new gadgets aiming to give you a good night's rest

New technology is staying up all night, so you don't have to.
Many people suffer from a lack of sleep, or what experts call a lack of quality sleep that allows you to feel refreshed.
Some new devices monitor nocturnal activity to get a better handle on the problem, while others offer aid through techniques such as modulating light and sound.
One of the critical elements is getting good data that can be analysed, said Terry Duesterhoeft, president of medical equipment group A&D Medical, which works with partners that make wristbands and other devices to collect data during the night. "We can get a great deal of analytics on sleep quality," Duesterhoeft said.
California-based A&D provides an app that monitors activity throughout the day using a tracker, and an upgrade will be able to detect REM or rapid eye movement sleep, seen as an important component of a restful night.
Other products are aimed at a speedier solution to poor sleep habits.