# How does Moonfade turn off and lock the display when time is up?

Moonfade uses Device Admin for its Turn off the screen behavior. Check display lock separately from media volume and player pause.

[Yudistira Ashadi](https://yudis.dev/en/about) · Published October 2, 2026 · Updated November 4, 2026

![A dial, a stopwatch, and a locked padlock are shown against a night sky background, symbolizing time-based screen locking.](https://moonfade.yudis.dev/blog-images/covers-v1/e083e5dae1f281205a6ef929bccf2085c7b8e32706f5054e6922468ff951f7e6/1200.webp)

### Key takeaway

Moonfade separately requests display lock when Turn off the screen is enabled and Device Admin is active. Activate access only for that optional feature; playback-only timers need no administrator access. Enabled playback ending runs the post-countdown fade then audio-focus request first; disabling it skips both. Verify actual lock and player pause separately.

Moonfade separately requests display lock at the timer ending when **Turn off the screen** is enabled and Device Admin access is active. Enable that optional feature and complete activation if you want it; playback-only starts need no administrator access. Check the display-lock result separately from the media-volume fade and actual player pause; the screen turning off does not prove playback has stopped.

The [Moonfade feature guide](https://moonfade.yudis.dev/) lists screen lock alongside notification controls and the media fade. Thinking of them as separate outcomes makes it easier to understand what happened at the end of a listening or video session.

## Know which access supports display lock

Device Admin is the Android capability Moonfade uses for optional display locking. If you removed access, activate it again only when you want to use Turn off the screen. Leave that setting off for playback-only timers without administrator access.

Moonfade Settings contains Turn off the screen. The [support page](https://moonfade.yudis.dev/support) explains that turning this setting off removes Moonfade's Device Admin permission. That connection is useful when checking whether you have changed the display-lock setup since the last run.

Removing administrator access disables Moonfade display locking while still permitting playback-only timers. Reactivate it only if you choose screen locking later.

## Separate what you see from what you hear

There are three observations to make at the ending. First, the media-volume stream may fade. Second, the player may react to the playback request by pausing. Third, the display can turn off and lock through the screen-lock behavior.

A dark display only tells you about the visible display result. If audio continues or player progress later shows that the session advanced, the media ending needs its own check. Conversely, paused playback does not by itself demonstrate that the display locked.

This distinction matters with video because the image disappearing can look like playback has ended. Inspect the player's state after the ending when you need to establish whether the video actually paused, rather than assuming it from the screen going dark.

## Run a short complete-ending test

Start media in the player you normally use. In Moonfade, choose a short countdown, verify Stop audio & video for the playback-ending request, and note the chosen fade value. Enable Turn off the screen and complete Device Admin activation if this run is intended to check display locking, then tap Start.

Let the original countdown finish without adjusting it. Keep observing through the fade interval, which runs for 0 to 60 seconds after the countdown ends. The fade is not spread across the countdown, so a positive value creates a separate interval to watch.

Use these questions to record the result:

- Did the countdown reach its end?

- Did the media volume change during the ending?

- Did the display turn off and lock?

- After checking the player, did playback pause or keep advancing?

With **Stop audio & video** enabled, countdown completion starts the configured 0–60-second media-volume fade, followed by an audio-focus request to pause playback. Moonfade then separately requests display lock when **Turn off the screen** is enabled. Disabling Stop audio & video skips both fade and audio focus. These requests do not prove that the player paused or the physical display locked. Observe actual volume, playback and display outcomes separately rather than treating a successful request as proof.

## If the screen result is unexpected

Check the Moonfade screen setting and whether you completed Device Admin activation for that run. Consider whether you removed the access earlier by turning off Turn off the screen. Write down the setting and prompt state before retrying, so the next test has a clear starting point.

If display lock succeeds but media keeps playing, move to the playback checks: confirm Stop audio & video and wait through the selected fade. Moonfade Support states that devices and media apps respond differently, so display success does not resolve a separate player-response issue.

If you need help, report the Android version, phone model, countdown and fade settings, and the display and playback observations separately. That gives support a specific result to investigate rather than one broad “screen timer failed” description.

## Remove display-lock access when you intend to

To remove access, turn off Turn off the screen in Moonfade Settings. If Moonfade cannot be opened, remove its access in Android's device-administrator settings. Do this before uninstalling. Playback-only timers remain available without reactivation.

Use the [permission-removal guide](https://moonfade.yudis.dev/blog/remove-moonfade-screen-lock-permission) when removing access, or the [uninstall guide](https://moonfade.yudis.dev/blog/uninstall-moonfade-device-admin) when removing the app too. You can review or remove the access deliberately while recognizing its consequence for future starts. Display permission, media-volume changes, and a player's pause response remain separate concepts throughout that choice.

[Get Moonfade on Google Play](https://play.google.com/store/apps/details?id=com.devoto.sleeptimer&utm_source=moonfade.yudis.dev&utm_medium=website&utm_campaign=website&utm_content=article_inline&referrer=utm_source%3Dmoonfade.yudis.dev%26utm_medium%3Dwebsite%26utm_campaign%3Dwebsite%26utm_content%3Darticle_inline) , choose whether to enable screen locking, and use a short timer to check the display result and your player's actual playback state separately.

## Check your listening setup

Use the [Moonfade compatibility check](https://moonfade.yudis.dev/resources/compatibility-check) to record what happens with your own device and player.

## Sources

- [Moonfade: Sleep Timer for Android](https://moonfade.yudis.dev/)

- [Moonfade Support](https://moonfade.yudis.dev/support)

Topics: Android · Screen lock · Timer ending

## A little time to wind down.

Set a timer for whatever you’re listening to tonight.

[

![Get it on Google Play](https://moonfade.yudis.dev/static/google-play-badge.svg)

](https://play.google.com/store/apps/details?id=com.devoto.sleeptimer&utm_source=moonfade.yudis.dev&utm_medium=website&utm_campaign=website&utm_content=article_article_bottom&referrer=utm_source%3Dmoonfade.yudis.dev%26utm_medium%3Dwebsite%26utm_campaign%3Dwebsite%26utm_content%3Darticle_article_bottom)
