Quick answer
X Player has a sleep timer for music with a "finish current song" option, so playback stops at the end of a track rather than abruptly. Start your music, set the timer, and lock the phone: background playback keeps it going until the timer ends. It works offline on songs saved to your phone.

Set it up for tonight
Pick what to play
Open the music library and start a playlist, an album or a folder of recordings. A calm playlist of your own works best.
Set the sleep timer
Choose how long to play, and turn on finish current song so it doesn't stop mid-verse.
Lock the phone
Background listening keeps the sound going with the screen off.
Put it down
When the timer runs out, playback stops by itself.
Why "finish current song" matters
A hard stop in the middle of a song can be jarring enough to wake you, especially if you're just drifting off. Letting the track end makes the silence feel natural. It also matters for spoken content: a chapter or a talk stopping at a track boundary is easier to pick up again tomorrow.
Bedtime listening tips
| Tip | How |
|---|---|
| Avoid sudden loud tracks | Make a dedicated sleep playlist instead of shuffling your whole library |
| Avoid gaps that wake you | Turn on gapless playback for albums, or crossfade for mixed playlists |
| Softer sound | Use the equalizer to lower the top bands a little |
| Earphones fall out | Pause on headset unplug stops sound from switching to the speaker |
| No data used | Songs saved on your phone play offline |
A calm screen if you glance at it
If you look at the phone before sleeping, pick a dark Now Playing screen and the Dark theme. X Player offers 30 Now Playing screens, such as Vinyl, Cassette and Blur, and light, dark or system theme. For the full music side, see the equalizer guide.
What to play at bedtime
Slow, familiar music with no sudden changes in volume works best, so a hand-picked playlist beats shuffling your whole library. Spoken content like a calm talk or an audiobook chapter works too, especially with finish current song so it stops at a natural break. If your recordings are in different folders, browse by Folders in the library to find them quickly, then add them to a dedicated sleep playlist.
Keep the volume low and steady. A comfortable level at bedtime is lower than you'd use during the day, and the timer means you don't have to reach for the phone to turn it down later. With pause on headset unplug, a loose earbud won't suddenly start playing through the speaker either.
Frequently asked questions
How do I make music stop automatically on Android?
Use a music player with a sleep timer. In X Player, set the timer and turn on finish current song.
Will the sleep timer cut a song in the middle?
Not with finish current song turned on; playback stops when the current track ends.
Does the music keep playing with the screen locked?
Yes. Background listening continues when you lock the phone or switch apps.
Does it work without internet?
Yes, for songs saved on your phone.










