Why screen mirroring stops: phone lock and battery saving

Updated · Written by the Shnurok developer

Short answer

Screen mirroring most often stops because the phone locks: on Android 15 QPR1 and newer, the system itself stops screen capture when the phone locks, and starting again needs fresh consent. Unlock the phone and, if the picture doesn't come back on its own, tap “Show screen on TV” in Shnurok again and confirm the permission; to keep it from happening mid-movie, set a longer screen timeout. Less often, mirroring stops because battery saving closes background apps or because the cable came loose.

Why mirroring stopped and what to do

Common causes and fixes
What happenedCauseWhat to do
The picture vanished when the phone lockedOn Android 15 QPR1 and newer, the system stops screen capture on lockUnlock the phone and, if needed, tap “Show screen on TV” again
The phone's screen turned off by itself and mirroring stoppedThe screen timeout kicked in and the phone lockedSet a longer screen timeout
Mirroring stopped although the phone didn't lock and the cable is inThe phone closed Shnurok to save batteryRemove battery restrictions for Shnurok
The phone says “Phone disconnected from the TV”The cable connection droppedPlug the cable back in, press OK in the TV's prompts and tap “Show screen on TV” again
Mirroring stopped after a tap on the status bar iconOn Android 15 QPR1 and newer, the icon stops mirroring with one tapTap “Show screen on TV” again

Why mirroring stops when the phone locks

Starting with Android 15 QPR1, the first quarterly update to Android 15, the system stops screen sharing, casting and recording as soon as the phone locks. Google says this protects private data, because people may not realize their screen is still being shared (Android documentation). An app can't resume that session afterwards, because Android requires the user's consent for every screen capture session.

The rule applies on Android 16 too. Versions before Android 15 QPR1 don't have it, so there the picture may come back by itself, but that depends on the firmware, so we can't promise it.

While the phone is locked, Shnurok on the TV shows “The phone is locked” with a hint: “Unlock it. If the picture doesn't come back by itself, tap ‘Show screen on TV’ on the phone again.”

  1. Unlock the phone. If the picture comes back on the TV by itself, you're done, but on Android 15 QPR1 and newer it won't.
  2. Tap “Show screen on TV”. Open Shnurok on the phone and tap the big round button.
  3. Confirm the screen recording permission. Android asks for it every time mirroring starts, so the dialog appears again. Our guide to the screen recording permission explains why it's needed.

How to keep the phone from locking while mirroring

A phone doesn't only lock when you press the button: if nobody touches the screen for a while, it turns off on a timer and the phone locks itself. Many video players keep the screen on while a video plays, but during a photo slideshow, a presentation or a document the screen turns off after the set time, and on newer Android versions mirroring stops with it.

To prevent that, set a longer screen timeout in the phone's display settings and switch it back after mirroring so the screen doesn't waste battery. The option usually sits in the display section, though brands name it differently.

Shnurok keeps the TV screen from turning off on its regular timer, but some TVs have a sleep mode that kicks in after the remote hasn't been used for a long time, and it works in every app (Android documentation). If the TV warns that it's about to turn off, press any button on the remote.

Battery saving closes Shnurok

Some versions of Android close apps running in the background to save battery, and when Shnurok gets closed, mirroring stops. Don't kill my app, an independent site that tracks this behavior, says many manufacturers put battery life ahead of apps working properly, and ranks Huawei, Xiaomi, OnePlus and Samsung as the worst offenders (Don't kill my app).

If mirroring stops even though the phone didn't lock and the cable is in, remove battery restrictions for Shnurok: open Shnurok's page in your phone's app settings and, in the battery section, choose the unrestricted option. The exact names vary by brand; our guides to Xiaomi, Redmi and POCO, Samsung Galaxy and phone settings by brand show where they are.

If the cable came loose

When the cable is pulled out or comes loose, the phone says “Phone disconnected from the TV”, and the TV shows “Phone disconnected” and goes back to waiting. Plug the cable back in. The TV asks for USB access every time the cable is connected, usually in two prompts in a row, and you need to press OK on the remote in both. Then tap “Show screen on TV” on the phone again.

If the connection drops by itself while nobody touches the cable, try a different cable and a different TV port, without extension cables or hubs. Our guide to choosing a USB cable for a phone and a TV explains what works.

The screen sharing icon in the status bar

On Android 15 QPR1 and newer, a large icon sits in the status bar while your screen is being shared, and tapping it stops mirroring (Android documentation). If the picture disappeared but the phone didn't lock, check whether someone tapped that icon by accident. On other Android versions, active screen sharing shows up in Quick Settings, and you can stop it there too (Android documentation).

How Shnurok does it

Shnurok doesn't leave the TV on an unexplained black screen. When the phone locks, the cable comes loose or an app won't let its video be shown, the TV says what happened and what to do, and the “Show screen on TV” button on the phone brings the picture back.

When Shnurok won't help

  • Mirroring with the phone locked. On Android 15 QPR1 and newer, the system won't let any app mirror the screen of a locked phone. If you want to watch a movie without keeping the phone awake, open the service's app on the TV itself or use the cast button in the app on your phone. Then the TV plays the video itself; here's how casting differs from screen mirroring.
  • iPhone. If your iPhone's screen mirroring stops when it locks, Shnurok can't help, because it works only with Android phones. See how to mirror an iPhone to a TV instead.
  • A long session on a nearly flat battery. The TV charges the phone through the cable, but during a long session the battery may still drain. Charge the phone beforehand; the reason is explained in the section on charging while mirroring.

FAQ

Can I lock my phone and keep mirroring?

Not on Android 15 QPR1 and newer: the system stops screen capture when the phone locks, and that applies to every app that mirrors the screen. On older Android versions the picture may come back after you unlock, but we can't promise it.

To keep a movie going, don't let the phone lock, and set a longer screen timeout.

Why does Android ask for permission again after I unlock?

Android requires consent for every screen capture session. When the system stopped mirroring because the phone locked, that session ended, and a new one needs new consent.

Why does screen mirroring sometimes stop on its own?

Most often because the phone's screen timed out and the phone locked. Mirroring also stops when the phone's battery saving closes Shnurok, when the cable comes loose, or when someone taps the screen sharing icon in the status bar.

Do I need to keep Shnurok open on the phone while mirroring?

No. After you tap “Show screen on TV”, you can open any app and it appears on the TV.

But if your phone is aggressive about saving battery, it may close Shnurok in the background, so it's worth removing battery restrictions for the app.

Will the TV go to sleep while mirroring?

Usually not: Shnurok keeps the TV screen from turning off on its regular timer. But some TVs turn off after the remote hasn't been used for a long time, and that works in every app.

If the TV warns that it's about to turn off, press any button on the remote.