Table of Contents

Android USB Transfer Stops When the Screen Locks: Windows 11

Before going to bed, I connected my phone to my PC to transfer all my vacation photos, expecting the process to be finished by morning. When I woke up, I found that the progress bar was stuck exactly where I had left it; Windows showed an error, and some files had even become corrupted. Android USB transfer stops when the screen locks – a very common issue in India, especially for users of Redmi, Realme, Samsung, or OnePlus phones who try to move large batches of photos or videos to a PC. In reality, there isn’t just one reason for this; there could be several, and each requires a different fix. In this guide, we will address each of these causes one by one.

USB transfer stops when the screen locks

First, let’s understand – why does this problem occur?

In reality, this issue can stem from one of four distinct reasons. Identifying the specific cause is essential to applying the right fix:

Cable or port quality
Transferring large files using a low-quality or damaged cable is inherently unreliable; a locked screen only makes the connection even more unstable.

Android USB mode changes when the screen locks
When you unlock your phone, connect it via USB, and select “File Transfer (MTP)” mode, some Android phones automatically switch the USB mode to “Charging only” as soon as the screen locks. This is a security feature – files should not be accessible while the phone is locked.

Windows USB Selective Suspend
Windows 11 includes a power-saving feature that “suspends” idle USB devices. If the data flow slows down momentarily during a transfer, Windows may suspend the USB connection.

Phone display/sleep timer
On some Android versions, the USB connection is briefly interrupted when the phone screen turns off – this has been observed particularly in MIUI (Xiaomi), ColorOS (Realme/OPPO), and Samsung OneUI.


First, diagnose the issue – where is the problem originating from?

Test 1: Connect your phone, start a file transfer, and lock the screen. If the transfer stops immediately, it is an issue with the USB mode or an Android setting.

Test 2: Start a file transfer; do not lock the screen manually – simply leave it inactive for a while. If it stops after a few minutes, it is an issue with the “USB Selective Suspend” setting in Windows.

Test 3: Try using a different cable and a different USB port. If this resolves the issue, it was a problem with the quality of the cable or the port.

Test 4: If the transfer completes successfully while the screen remains ON, it confirms that the screen lock is specifically the cause of the problem.


Fix 1 – Keep the screen ON during the transfer (the easiest fix)

This is a temporary but immediate solution. Use it as a workaround until other fixes can be applied.

Increase the display timeout on Android:

  1. Go to Settings β†’ Display β†’ Screen timeout
  2. Set it to 30 minutes or the maximum available value
  3. Change it back to the normal setting once the transfer is complete

Enable “Stay awake” from Developer Options:

  1. Go to Settings β†’ About Phone and tap on “Build Number” 7 times (this will unlock Developer Options).
  2. Open Settings β†’ Developer Options.
  3. Enable the “Stay awake” or “Keep screen on while charging” option.
  4. When this option is active, the screen will never lock while the phone is connected to a charger or a USB cable.

⚠️ Note: Enabling this option ensures that the phone reverts to its normal sleep behavior as soon as it is disconnected from USB. There is little concern regarding battery drain, as the device is also being charged by the PC/laptop.


Fix 2 – Keep Android USB mode set to MTP even after the screen is locked

Android USB file transfers often stop when the screen is locked – this is the most common reason. As soon as the phone screen locks, the USB mode switches to “Charging only.”

Set the default USB configuration:

  1. Open Developer Options (unlock it using the steps provided above).
  2. Find “Default USB configuration.”
  3. Set it to “File Transfer (MTP).”
  4. Now, the phone will automatically enter MTP mode every time it is connected, even when the screen is locked.

For Samsung phones:

  • Settings β†’ Developer Options β†’ Default USB configuration β†’ MTP

For Xiaomi/MIUI phones:

  • Settings β†’ Additional Settings β†’ Developer Options β†’ Default USB configuration β†’ File Transfer

For Realme/ColorOS phones:

  • Settings β†’ Additional Settings β†’ Developer Options β†’ Default USB configuration β†’ MTP (Media Transfer Protocol)

Fix 3 – Disable USB Selective Suspend in Windows 11

Windows 11 automatically suspends USB devices when in power-saving mode. This is the setting that cuts off the USB connection when the screen becomes inactive.

Method A – Via Power Plan:

  1. Win + R β†’ powercfg.cpl β†’ Enter
  2. Click “Change plan settings” next to Current power plan
  3. Click “Change advanced power settings”
  4. USB Settings β†’ Find the USB selective suspend setting
  5. Set it to “Disabled”
  6. Apply β†’ OK

Method B – From Device Manager:

  1. Win + X β†’ Device Manager
  2. Expand “Universal Serial Bus controllers”
  3. Right-click on each “USB Root Hub” entry β†’ Properties
  4. Go to the “Power Management” tab
  5. Uncheck the box labeled “Allow the computer to turn off this device to save power”
  6. Repeat this for every “USB Root Hub”

Fix 4 – Set Phone as Trusted Device in Windows 11

Windows 11 sometimes requires the phone to be re-authenticated when the screen is locked. Way to avoid it:

Install MTP Driver Correctly:

  1. Connect the phone via USB in MTP mode.
  2. Open Device Manager.
  3. The phone will appear under the “Portable Devices” section.
  4. Right-click β†’ Update driver β†’ Browse my computer β†’ Let me pick.
  5. Select “MTP USB Device”.
  6. Install it and restart your computer.

Check the Windows Media Player Network Sharing settings:
Sometimes, the Windows Media Player MTP driver causes conflicts. Go to Services (Win + R β†’ services.msc) and set the “Windows Media Player Network Sharing Service” to “Automatic.”


Fix 5 – Exclude USB from the phone’s battery optimization

Android’s aggressive battery optimization feature sometimes kills background USB processes.

Samsung OneUI:

  1. Settings β†’ Battery β†’ Background usage limits
  2. See USB/MTP related processes in “Never sleeping apps”
  3. Settings β†’ Apps β†’ View all apps β†’ Give “Unrestricted” battery access to USB-related services

MIUI (Xiaomi/Redmi):

  1. Settings β†’ Apps β†’ Manage apps β†’ Three dots β†’ Special app access
  2. Give “No restrictions” to system apps in the Battery saver section

Stock Android (Pixel, Android One):

  1. Settings β†’ Apps β†’ Special app access β†’ Battery optimization
  2. Set MTP-related services to “Don’t optimize” in the “All apps” view

This setting resolves the issue where Android USB file transfer stops when the screen is locked, specifically in cases where background processes are being terminated.


Fix 6 – Check the quality of your cables and ports

It may seem tedious, but it shouldn’t be ignored.

How to identify a good-quality cable:

  • Use a USB 3.0 cable (with a blue connector) – it is 10x faster than USB 2.0 and provides a more stable connection.
  • Charging-only cables do not work for data transfer – check the cable’s specifications.
  • Cheap, third-party cables often fail during large data transfers.

Check the port:

  • Connect the phone to a USB port on the PC’s back panel, not the front panel – front ports are often less reliable.
  • If you are using a USB hub, try connecting directly to a port on the motherboard instead.
  • Use a USB 3.0 port (blue), not a 2.0 port (black/white).

Quick test:

  • Try on another PC with the same cable
  • If it works fine there – there is a problem with Windows settings
  • If it fails there too – replace the cable

Wireless alternatives are more reliable for large transfers.

If this problem keeps recurring and the aforementioned fixes do not work, then a wireless transfer could be a permanent – and, in fact, better – solution.

1. LocalSend – Most recommended
localsend.org. Download it for free. Install it on both your phone and PC.

  • Works on the same WiFi network
  • End-to-end encrypted; no account required
  • 500MB files transfer in ~28 seconds over local WiFi
  • Wireless transfers continue uninterrupted, regardless of whether the screen is locked or unlocked
  • Completely free and open source on both Android and Windows

2. Nearby Share for Windows – Google’s Official Tool
android.com/better-together/nearby-share-app Download the Windows app.

  • Uses WiFi Direct
  • Speeds of ~20–40 MB/s
  • Google account is optional
  • Simple setup, drag-and-drop interface

3. If you also need remote access – AirDroid
airdroid.com – In the free version, files can be accessed in a browser via a local web interface (IP:8888). The Personal Pro plan is available for $3.99/month or $29.99/year.

  • You can also reply to SMS and mirror notifications on your PC.
  • Along with wireless file transfer, it also includes phone management features.

Free tools that will be useful for this problem

ToolFeatureLink
LocalSendWireless encrypted file transfer; no USB required.localsend.org
Nearby Share for WindowsGoogle’s official WiFi Direct transfer toolandroid.com/better-together/nearby-share-app
AirDroidWireless transfer + phone managementairdroid.com
Files by GoogleEnable Nearby Share on your phonefiles.google.com

About Files by Google: files.google.com – Having this app installed on your Android phone enhances the performance of the ‘Nearby Share’ feature. The app itself is also useful for organizing and sharing files locally. It is completely free and very popular in India.

For practical solutions to similar real-world problems involving Windows and Android, visit fixtech.in – you will find detailed troubleshooting guides, specifically tailored for users in India.


FAQs – About USB Transfer Stops When the Screen Locks

Q1. Why does a USB transfer stop when the screen locks?

There are two main reasons: First, under Android security policy, some phones block MTP access when the screen is locked. Second, the Windows “USB Selective Suspend” feature suspends a USB device when it is idle. Both issues need to be addressed separately.

Q2. Is it safe to enable Developer Options?

Yes, it is perfectly safe. These options exist to hide advanced settings from average users; enabling them poses no risk. The “Stay awake” option simply prevents the screen from going to sleep while a USB device is connected.

Q3. How much faster will my laptop battery drain if I disable “USB Selective Suspend”?

The impact is minimal – when a USB device is not actively in use, its power draw is negligible. If you are concerned, you can simply re-enable the setting after the transfer is complete.

Q4. What should I do if the transfer still stops even after setting the mode to MTP?

In addition to selecting “File Transfer” under “Default USB configuration” in Developer Options, you should also disable “USB Root Hub Power Management” in Windows. Applying both fixes usually resolves the issue in most cases.

Q5. Why does this problem occur more frequently on Xiaomi/Redmi phones?

MIUI’s aggressive battery optimization and background app management can terminate USB services when the screen locks. On MIUI, ensure that “File Transfer” is selected under “Default USB configuration” in Developer Options, and set system USB services to “unrestricted” within the battery optimization settings.

Q6. Is LocalSend as fast as a USB transfer?

LocalSend can transfer 500MB over a local WiFi network in approximately 28 seconds, which is comparable to a USB 2.0 connection. While it may be slightly slower than a USB 3.0 connection, it offers greater reliability, as wireless transfers are not affected by screen locks.

Q7. What is the difference between the USB ports on the back panel and the front panel?

On a desktop PC, the ports on the back panel are connected directly to the motherboard, providing a more stable power supply. Front panel ports are connected via extension cables, which can sometimes cause interference during data transfer. Always prefer using the back panel for large transfers.

Q8. Do files get corrupted if a file transfer is cancelled midway?

Partially transferred files may become corrupted, but the source files remain safe. Delete the partially copied files from the destination and restart the transfer. The source files (on the phone) remain safe.

Q9. Can both USB Debugging and MTP be enabled simultaneously on a Samsung phone?

Yes. MTP (File Transfer) and USB Debugging are separate settings and can both be enabled at the same time. USB Debugging is primarily intended for developers and does not affect file transfers.

Q10. Does this problem also occur in Windows 10?

Yes. The issues related to ‘USB Selective Suspend’ and MTP mode are identical in Windows 10. The fixes are also the same: disable ‘USB Selective Suspend’ in Power Options and configure the ‘Default USB configuration’ within the Android Developer Options.


One final point – apply the right fix once, and your transfers will be completely hassle-free

Large file transfers – such as vacation videos, phone backups, or project files – often need to run overnight, and it’s incredibly frustrating when they get interrupted. Among the solutions mentioned above, enabling “Stay awake” in Developer Options and disabling “USB Selective Suspend” in Windows settings will resolve the issue in 90% of cases. Alternatively, if a USB connection doesn’t feel reliable, wireless tools like LocalSend offer a better solution; they keep transfers going uninterrupted, whether the screen is locked or unlocked. Since Android USB file transfers tend to stop when the screen locks, fixing this issue properly once and for all means you won’t have to keep searching for workarounds every single time.


Scroll to Top