The Wi-Fi connected sensor slides under your mattress and tracks your slumber patterns, including snoring. The data is then sent to Nokia’s Health Mate app and analysed to come up with a sleep score.

The device is also integrated with IFTTT (if this, then that), a home automation app that lets you set up triggers that are tied to your sleep patterns. This means, provided the lights and thermostat are connected to your Wi-Fi, it will adjust the lighting and temperature for when you get in and out of bed.

"Our vision is to help make the world a healthier place and quality of sleep is as critical a component of a healthy lifestyle as regular exercise and a balanced diet," says Rob Le Bras-Brown, head of Nokia's digital health business. "Nokia Sleep gives users insight into what happens when their eyes are closed along with the ability to change the environment for more restorative sleep with IFTTT home automation capabilities. Nokia Sleep will be a game changer in helping maximise a night's sleep to make the most of the next day."

To prevent the sensor from picking up movement from a pet or bed partner, the device needs to be placed on the side of the bed, at chest level.

The Health Mate app has Amazon’s Alexa support, meaning you can now ask your Alexa-enabled product about your health progress from the Health Mate app.

The Nokia Sleep sensor is expected to be on the market in Q1 2019 and will cost $99.95.