How to connect your mobile phone to your computer if the USB only charges it?

Last update: 26 May 2026
  • The most common reason why the mobile phone only charges is having the "Do not transfer data" USB mode activated, which blocks access to storage.
  • On Android you can change the connection mode from the “Charging device via USB” notification, always selecting “File transfer/Android Auto”.
  • Damaged or charging-only cables, dirty or faulty USB ports, and outdated PC drivers are key factors that can prevent the transfer.
  • If after checking settings, cables, ports and drivers the mobile phone is still not recognized, there is likely physical damage to the device's USB connector.

Connect your mobile phone to the computer if the USB only charges.

Connecting your mobile phone to your computer to transfer photos, videos, or documents seems simple… until… You only see the charging icon and no transfer option appears.If you've been struggling with the USB cable for a while and The phone only chargesDon't worry: it's a very common problem, especially on Android, and it can usually be solved by tweaking a few hidden options in the settings.

In the following lines you will find a very complete guide to understand why your mobile phone only charges when connected to the PC. What settings do you need to check on Android and iOS?This guide explains what to do if you don't see the "Transfer files" notification and how to check if the problem is with the cable, the USB port, or even your computer's drivers. It's all explained in clear, straightforward Spanish (from Spain), with examples.

Why does my phone only charge and not appear on my PC?

In most cases, when you connect your mobile phone to your computer and it only charges, the culprit is an internal system setting called USB connection mode “Do not transfer data”This mode limits the cable's function to charging the battery, completely blocking access to internal storage from the PC.

On Android, the system is very flexible and allows you to choose different connection modes: file transfer, photos only, connection sharing, MIDI, or upload onlyThat flexibility is great, but it also means that if you select the wrong option one day, the next time you connect your phone to the computer, it will be saved and you won't be able to see the phone's contents.

When this happens, usually, as soon as you plug your phone into the PC, a notification will appear at the top of the phone's screen indicating something like “Charging device via USB” or “USB to charge this device.” Tapping it should open a menu where you can switch to “File transfer.” If you don’t, the phone will continue to behave as if it were only a charger.

On iOS, the system works differently: it's more limited in options, but considerably simpler to use. When you connect an iPhone to a computer, the phone itself displays a pop-up message asking if “Allow this device to access photos and videos?”If you tap "Do not allow," the computer will only charge the phone and won't be able to see the photos or data. Luckily, simply disconnecting, waiting a bit, and reconnecting will make the prompt reappear.

»

Besides the settings, there are other factors that can cause the phone to only charge: Damaged USB cables or cables that only work for charging, dirty or damaged ports, or incorrectly installed computer driversTherefore, it's advisable to review each point carefully before considering the mobile phone or PC unusable.

USB connection modes on Android: what each one means

When you connect an Android phone to your PC, the system can use the USB cable for many different things. Understanding what each mode is for helps you know which one to choose. to be able to view the mobile phone's files on the computer smoothly.

In the USB preferences menu (accessed from the Android notification that appears when you connect the cable), two sections are usually displayed: Who controls the USB and What it's used for. In "USB controlled by," it's usually selected. “This device”That is, let the phone itself manage the connection. You should leave it like this unless you have a very specific reason to change it.

The important part is in the "Use USB for" section, where you'll see several options. Depending on the manufacturer (Samsung, Xiaomi, Huawei, etc.) and the Android version, the names may vary slightly, but they are generally the same:

  • File Transfer / Android AutoThis is the mode you need to use if you want to copy and move files between your phone and PC. It allows the computer to see both the phone's internal memory and, if you have one, the microSD card. It's also the mode used by Android Auto. connect your mobile phone to the car.
  • Share connection via USBThis turns your phone into a kind of router so your computer can connect to the internet using mobile data or the smartphone's own Wi-Fi. It's very useful if you don't have Wi-Fi on your PC, but in this mode, you can't access the internal storage to transfer files.
  • MIDIThis option is designed for musicians and producers, as it allows the mobile phone to act as a MIDI interface to communicate with instruments, synthesizers, or computers that use the standard. Musical Instrument Digital InterfaceWith this mode, you also won't be able to see folders or photos in your PC's file explorer.
  • PTP (Picture Transfer Protocol)It only sends photos (and in some cases videos) to the computer. It's a standard specific to cameras and imaging devices. This can be useful if you only want the photos to appear on your PC, for example, to import them into a specific application, and you don't want other personal files to be seen.
  • Do not transfer dataLeave the USB port only for charging the battery. With this mode active, it doesn't matter how many times you connect and disconnect the cable: the computer will only recognize the device as a power source.

If your problem is that your phone only charges, what you need to do is enter this menu and clearly select “File transfer / Android Auto”As soon as you select that option, the phone will usually reconnect automatically and, in a few seconds, the PC should show the device in the file explorer.

How to enable file transfer on Android step by step

If you only see the charging icon when you connect your phone to your PC, the first step is to check the settings in your phone's notifications. The general process is very similar across most brands, although the exact wording may vary slightly.

With the cable plugged in between your phone and computer, slide your finger down from the top of the phone screen to open the Android notification panelIf everything is going as it should, you will get a notification that is usually called "Charging device via USB", "Charging via USB" or something similar.

Tap that notification to open the USB preferences menu. Look for the "Use USB for" section or similar text. You'll likely see that the option is selected. “Charge only” or “Do not transfer data”which is what is causing your current problem when trying to connect to the computer.

Select the “File Transfer / Android Auto” option and wait a few seconds. In most cases, as soon as you change this setting, the phone will disconnect and reconnect to the PC. Windows shows the phone as a new storage device in the file explorer. From there you can drag and drop photos, videos, or other documents between your phone and computer.

If your phone is from a specific brand like Samsung, Xiaomi, Huawei, or similar, the visual path may change slightly, but the idea is always the same: access the USB settings from the notification, choose the file transfer mode, and prevent it from getting stuck in charge-only modeIn some models, it is also possible to set this mode as the default for future connections.

What to do if USB options don't appear on Android

Connect your mobile phone to the computer if the USB only charges.

There are more infuriating cases where, no matter how much you connect the cable, No USB notification appears on the mobile phone.Or, when you tap it, it only opens the battery settings, without options like "Transfer files / Charge only / etc." This can happen, for example, on some recent models like the Samsung Galaxy S series, where the interface is somewhat different.

If swiping down the notification bar only shows something like "Fast Charging" and tapping it takes you directly to the battery menu, but nothing about USB modes, the first thing to try is a different cable. Many users find that the cable they're using, especially if it's cheap or very old, It only supports charging and not data transmission.Although the original cable should work, it's a good idea to try another quality cable (for example, one from another mobile phone that you know transfers files).

It's also important to try a different USB port on your computer, as some ports may be damaged or don't offer a stable connection. Switching ports, especially from the front to the back on a desktop PC, can make a difference if the previous connector is faulty. If the notification suddenly appears when you change ports or PCsIt is quite likely that the problem was in the original port.

On some Android phones, when the transfer options don't appear, activating the call feature may help. “USB Debugging”This feature is part of the developer options. It's typically used by developers to connect their mobile device to a computer and test applications, but in certain cases, it can also be used to force more comprehensive communication between the PC and the device.

To activate developer options, go to your phone's Settings and scroll down to "About phone" or something similar. There, locate a section like "Build number" or "MIUI version" (on Xiaomi) and tap it repeatedly until the system indicates that the Developer options have been enabledThen, go back to Settings and look for “Developer options” (sometimes inside “System” or “Additional settings”).

Once inside this new menu, scroll down to find “USB Debugging” and enable it. You might see a warning, but you can accept it. Then, reconnect your phone to the computer. In many cases, doing this will reappear the USB connection notification, and you can then select the debugging mode. file transfer without further complications.

If the problem persists after trying another cable, other USB ports, and enabling USB debugging, it's time to check the computer side: drivers and operating system compatibility with your specific device.

Differences between Android and iOS when connecting to a computer

Although the problem of the phone only charging when connected to the PC is more common in Android, it's worth understanding how each system handles this, because The way files are shared differs considerably between Android and iPhone..

On Android, as you've already seen, there are multiple connection modes: file transfer, PTP, connection sharing, MIDI, upload only… This variety offers a lot of freedom, but it means that if you accidentally select “Do not transfer data”, you will lose access to internal storage until you change the setting again. Also, each manufacturer customizes the interface slightly, so the text and navigation might confuse users less accustomed to adjusting settings.

On iOS, everything is more closed off. When you connect an iPhone to a Windows PC, the phone doesn't display a USB mode menu like on Android. Instead, it displays a pop-up notification asking if... Do you want to allow access to the photos and videos on the device?If you choose "Allow", the computer will recognize the iPhone as if it were a digital camera so you can import photos and videos.

If you tap "Don't allow" or ignore the warning, the PC will only see the iPhone as a charging device and You will not have access to the multimedia content.The advantage is that the system itself will ask you again the next time you plug in your phone: simply unplug it, wait a bit and plug it back in for the confirmation window to appear again.

When it comes to transferring files beyond photos, iOS is more restrictive than Android. To copy documents, music, or other file types, you'll often need to... specific applications or iTunes/Finder on MacWhereas on Android, with the "File Transfer" mode, you simply access the device's memory as if it were a USB drive.

Problems with the USB cable: it only charges and does not transfer data.

Not all USB cables are the same, and that explains why sometimes the mobile phone charges perfectly but the computer doesn't. is unable to detect the device to transfer filesThere are cables that are only designed for charging, that is, they carry the power conductors but not the ones needed for data, something common in some very cheap cables or certain chargers.

With use, cables deteriorate: they bend, fray, become internally loose, or develop damaged pins. They may appear fine at first glance, but if one of the data conductors is broken, the phone will only charge. That's why it's essential visually inspect the cableCheck for cracks, pronounced bends near the connector, or broken plastic.

If you suspect the cable, the quickest test is to connect it to another phone that you know works correctly with the computer, especially if Your phone restarts when you connect the cableIf you can't transfer files with that other phone either, but you can with a different cable, then it's perfectly clear: That particular cable is only good for charging now.and you'll have to replace it with a new one of good quality.

Conversely, you can also use a completely different cable (preferably the official one from another phone or a certified cable from a recognized brand) with your current phone. If the USB connection notification with transfer options appears with that cable, then the problem is solved. It wasn't on the mobile phone or the PC, but on the previous cable.

Check the USB ports on your mobile phone and computer

Besides the cable, both the phone's connector and the computer's USB port can be the reason why charging only works. Over time, the phone's port tends to accumulate [something - likely a specific issue]. dust, lint and dirt which can interfere with contacts and make it difficult to establish a full data connection.

android does not recognize usb only charge
Related articles:
Why does my phone say it's charging but it's not? Complete guide and definitive solutions

To check it, carefully look inside the phone's port in good light. If you see any dirt, you can use compressed air or a dry cotton swab (very gently, without forcing it) to clean it. Do not use metal objects that could damage the contacts. Sometimes, a light cleaning is all it takes. The phone now correctly recognizes the USB cable again. both for uploading and transmitting data.

Regarding the computer, especially if it's a desktop PC, some front ports might be poorly connected to the motherboard or faulty. Trying the same phone and cable in a different port (for example, on the back of the tower or on another part of the laptop) helps rule out this possibility. If it works in a second port The phone appears without problemsLogically, the first port has some kind of damage or incompatibility.

Another very useful test is to connect the phone to another computer. If it works fine on that second PC, the USB options appear, and you can see the files, then it's clear that The problem centers on the first computereither due to faulty ports or the absence of suitable drivers.

PC drivers and software: the forgotten side of the problem

It's not always the phone or the cable that's to blame. In some cases, the computer doesn't recognize the device correctly because something is missing. There are specific drivers or a compatibility issue. with the operating system. This is more common in Windows when connecting a phone of certain brands.

If your PC doesn't show any notification when you plug in your phone, not even an "unknown device" message, check the Windows Device Manager to see if there's a warning icon (yellow triangle) related to the phone. If so, it might be that the drivers are not installed or are corrupted.

The best solution is to go to your phone manufacturer's official website (Samsung, Xiaomi, Huawei, etc.) and download the drivers or synchronization software they offer. Often, these programs include everything necessary for [the phone to be synchronized]. Windows correctly identifies the terminal and allow file transfer via USB.

In the specific case of some Huawei devices, for example, there are official guides with sections like "My Huawei computer cannot identify USB devices," which detail additional steps and potential software conflicts. If the problem persists after installing the drivers and restarting your PC, it's a good idea to... try with another computer to definitively rule out that it's not a physical problem with the phone.

If the mobile phone connects without problems on another computer, you can focus on checking the configuration of the first PC, updating the system, reinstalling drivers, or even contacting the computer manufacturer to see if they know of any specific incompatibility of their USB ports.

When to suspect a physical failure in your mobile phone

After trying Android or iOS settings, changing the USB mode, checking cables and ports, enabling USB debugging, and updating drivers, there is still a possibility that the phone's physical connector is damagedIn that case, the phone can continue charging (because the power pins are still working) but cannot transmit data correctly.

To verify this, connect your computer to another mobile phone or tablet using the same cable and the same USB port as your PC. If the second device is detected correctly and allows file transfer, while yours is not, the problem lies with the faulty smartphone. You can also perform the reverse test: connect your phone to several different computers. None of them manage to recognize him beyond the burdenAnd since you've already ruled out cables and drivers, the probability of physical damage to the phone's port is high.

In that scenario, it is highly recommended to back up your data using other methods (cloud, Connect your mobile phone to your PC via WiFi, memory cards, etc.) while the battery is still working, and go to an official or authorized service center to have them check and, if necessary, repair or replace the USB connectorTampering with it yourself can worsen the problem and render the device unusable.

How to find out why your phone is charging slower than usual
Related articles:
How to find out why your phone is charging slower than usual

Mastering how the USB connection between your mobile phone and computer works, knowing the different usage modes, calmly checking the condition of the cable, the ports and the PC software, and knowing when to ask for professional help will allow you to avoid many headaches.

A simple detail like having "Do not transfer data" mode enabled or using a charging-only cable can completely block access to your files, but with the right settings and some basic checks, you should be able to see your phone again in the file explorer and move everything you need without relying on Bluetooth or slow methods. Share the information so that more users know about the topic.