Your computer can charge a phone through a USB port or a USB-C port, but many ports supply less power than a wall charger, so a modern phone may charge slowly or barely gain anything while you use it.

The detail most people get wrong is that not all ports on the same machine are equal. On many laptops the port with a small lightning-bolt icon or the label "Thunderbolt" keeps power flowing even when the laptop is asleep or off, while ordinary USB ports cut off the moment the lid closes. If your phone showed a charging symbol but the battery percentage did not move, that is usually the cause.

What Each Port Type Delivers to a Phone

The port on the computer decides how fast the phone fills. A standard USB-A port, the rectangular one, typically provides up to 2.5 watts at 0.5 amp on older machines and up to 4.5 watts at 0.9 amp on newer ones. A USB-C port on a laptop often supplies somewhere between 7.5 and 15 watts, and some laptops offer higher output through a dedicated charging port.

Port on computerTypical power to phoneWhat to expect
Older USB-A (black or white inside)About 2.5–4.5 WSlow trickle; battery may stay flat while the screen is on
USB-A marked with a lightning bolt or red insideAbout 7.5–12 WSteady gain, faster than a plain port
USB-C on a laptopAbout 7.5–15 WReliable for most phones, still slower than a fast wall charger
Powered USB hubDepends on hub supplyWorks only if the hub has its own power adapter

Modern phones can accept much more: many take 18 to 30 watts from a compatible wall charger, and some accept more. That gap explains why 30 minutes on a laptop port may add a few percent while the same 30 minutes on a fast wall charger adds a large share of the battery.

Charging a Phone From a Computer in Four Steps

Use the right cable, because the cable is the most common point of failure. A cable made for data transfer may carry power but not negotiate fast charging. Plug into a port that stays live when the computer sleeps if you want the phone to keep charging with the lid shut.

1. Connect the cable to the computer port first, then to the phone. Some machines detect a device only at the moment of insertion.

2. Look at the phone screen. A charging icon with a lightning bolt means it is receiving power. A data-transfer prompt asking you to allow file access means the cable is fine but the port is behaving as data only for now.

3. On Windows, open Settings > System > Power & battery and check the battery panel; on a Mac, check the battery indicator in the menu bar. If the phone battery is not rising after 5 to 10 minutes, the port is supplying too little or the cable is failing.

4. If you need more power, move to a USB-C port, use a shorter and thicker cable rated for higher current, or use the computer's own wall adapter with a USB-C output if it has one. Many laptop power adapters put out enough to charge a phone at a good rate.

Labels and menu names can differ by device model and operating system version, so expect small wording changes.

Why the Phone Says It Is Charging but Nothing Happens

A phone left awake with the screen bright can draw more current than a weak port delivers, so the net gain sits near zero. The screen, the radio for mobile data, and location services are the biggest draws. Locking the screen or putting the phone in a low-power mode often turns a stall into a slow but visible gain.

A second trap is a cable used only for charging that has worn contacts. Try a different cable before blaming the laptop. Look for a port with lint inside; a wooden toothpick used gently can dislodge it, with the computer off.

A third cause is the settings for the USB port. Some computers throttle USB power when running on battery to protect runtime. Plugging the laptop into the wall usually restores full port power. On some models the setting lives under a power management panel, and the name varies by manufacturer.

What You Cannot Do Through a Computer USB Port

You cannot get fast charging that matches a dedicated charger. The phone and the port must agree on a voltage and current through a negotiation step, and most computer ports stick to the standard 5-volt supply, which caps the wattage. A phone that wants 9 volts for fast charging will simply fall back to standard speed.

You also cannot rely on the port to charge a phone with a completely dead battery. Some phones need a minimum current to wake the charging circuit, and a weak port may not provide it. Let the phone sit plugged in for a few minutes, and if the screen stays dark, charge it from a wall outlet before trying again.

A common misconception is that a USB-C port on a laptop is always powerful because the connector looks the same as a phone's fast-charging connector. The connector shape says nothing about wattage; the port's design does. Two laptops with identical USB-C holes can supply very different amounts of power.

Charging While Using the Computer, Safely

The phone will warm up while charging, and the computer's port area will warm too. That is normal. Keep both on a hard surface with airflow and avoid stacking the phone on the laptop's vents.

Long sessions matter more for the phone battery than the port. A phone that sits at 100 percent on a trickle charge for hours runs warmer than one charged in bursts. If you plan to leave it plugged in for a full workday, unplug it around 80 percent or use a charge-limiting setting if the phone offers one.

Charge the phone from the computer only when the phone battery is low enough that a slow gain helps. If you need a full charge before leaving, use a wall charger; 15 minutes at a good wall charger can beat two hours on a weak port.

When the Computer Will Not Recognize the Phone

If the phone shows no charging icon at all, try the same cable in a different port, then a different cable in the same port. If a data-transfer window appears on the computer, the connection works and you simply have a power issue. If nothing appears anywhere, the cable or the phone's charging port is likely at fault, and a gentle cleaning of the phone port is the next step.

For a phone that charges from the wall but never from the computer, the port on the computer may be set to data only in its firmware options, or the port may be damaged. Testing with a USB flash drive tells you whether the port passes data, which narrows the problem to power delivery.