A good night’s sleep is hard to come by these days, whether it’s because of work, tending to young children, insomnia or sleep-related conditions such as sleep apnea. The good news is plenty of mobile apps can bring a more restful night. The best sleep-tracking apps come with a hardware component such as a wristband or under-the-sheet sensor and are more accurate than stand-alone apps because they have contact with the body during the night, says Michael Breus, a clinical psychologist and author of The Sleep Doctor’s Diet Plan: Lose Weight Through Better Sleep. “You want something that’s touching the skin,” he advises. Here are 10 mobile apps to help you track your sleep.