(NBC News) Tech companies are offering a slew of new products to help consumers improve the quality and quantity of their sleep.

SleepScore Labs launched a free app that uses sonar to track sleeping habits by measuring breathing and body movement. The app collects and analyzes data to determine a sleep score.

"Based on your sleep score we have a good idea as to what issues with sleep you have, if any, and then we can connect you with the appropriate solutions," said SleepScore CEO Colin Lawlor.

One simple solution: cutting out screen-time before bed. But if you must have your vices, a variety of companies offer glasses that filter out a portion of harmful blue light, which is one of the biggest disruptors of a good night's sleep.

Another common culprit: sleeping on your back. Philips launched a new Smart Sleep Snoring Relief Band that's worn around the chest, and gently vibrates to encourage side sleeping.

If that doesn't work, you can just cuddle up with a Somnox Sleep Robot, instead.

But if you don't want to shell out cash for a fancy new gadget, your smartphone might be able to help. Both Apple and Google have these baked into their mobile operating systems now. On the iPhone, there's a Night Shift feature that removes blue light from sunset to sunrise, and the Bedtime feature can remind you to go to bed at a consistent time that you can set.

Read more on the NBC News website