If you’re having problems sleeping at night, your smartphone might be able to help you. Yes, there is an app for that. In fact, there are several apps designed to assist you with your nocturnal snooze time.

Here are some of the best sleep-aid apps and what they can do for you.

1. Sleep As Android

As you might guess from the name, this app is only available for Android devices. It will actually show you a graph that displays your nighttime sleep habits. Further, the app will give you a warning if you’re not sleeping well enough. But that’s not all: the app will record what’s going on in your room at night (while you’re sleeping) so you can determine whether you’re talking in your sleep or snoring.

2. FitBit One

This app goes beyond simple “sleep tracking” measurements and actually tracks how active you are during the day. The more active you are, the more likely you’ll sleep better, right? FitBit One will also track your overnight movements, including if you’re doing a lot of rolling around in bed. In the morning, FitBit One will provide you with a report on how well you slept during the night.

3. Jawbone Up

As with FitBit One, Jawbone Up goes beyond mere sleep tracking and tracks your level of fitness. It monitors the number of steps you take each day as well as other activities. It also keeps track of your dietary habits, if you’re interested in logging that information. If you’ve been standing still for too long, Jawbone Up will tell you get up and get moving. Of course, it will also track how many hours you’ve slept and will record your tossing-and-turning activity as well.

4. Sleep Cycle

This app is only available for iPhone or iPad. Unlike the preceding two options, this one won’t monitor your activity during the day. However, it will monitor your sleep activity at night and determine the best possible time to wake you in the morning. A cool feature of this app is that it uses the accelerometer in the iOS device to determine the best place to put the smartphone so it can properly manage your sleep habits.

Of course, the best sleep-aid apps in the world will be limited in their ability to help you with your sleep habits if you’re not also practicing healthy eating. Take care that your diet is well balanced, and make certain you’re eating at the appropriate times so as not to disrupt your sleep pattern.