A wave of new devices is now coming to market that track your shuteye, assess the quality of your sleep and make suggestions on what you can do to improve — some even intervene, reports USA Today.

More than a third of us don’t get enough sleep, according to the Centers for Disease Control and Prevention. And the impact of that sleep deprivation on our health and happiness – even our careers – is enough to keep you awake at night. Poor sleep can increase the risk for a multitude of disorders, from diabetes to depression. It impacts our outlook, our stress levels and our decision-making abilities. It even impacts our mortality, according to a recent Rand report.

Which helps explain why device makers are coming out with devices that track your sleep patterns. Understanding how much time we spend in each sleep stage gives us far better insight into the quality of sleep than simply logging how many hours we lay in bed.