I was just thinking if you are on your computer anyway would it just use some of the excess electricity that your computer would have wasted or would it be worse than charging your phone from a charger while using your laptop separately.
The other answers have touched upon the relative efficiencies between a phone charger and a desktop computer’s PSU. But I want to also mention that the comparison may be apples-to-oranges if we’re considering modern smartphones that are capable of USB Power Delivery (USB PD).
Without any version of USB PD – or its competitors like Quick Charge – the original USB specification only guaranteed 5 V and up to 500 mA. That’s 2.5 W, which was enough for USB keyboards and mice, but is pretty awful to charge a phone with. But even an early 2000s motherboard would provide this amount, required by the spec.
The USB Battery Charging (USB BC) spec brought the limit up to 1500 mA, but that’s still only 7.5 W. And even in 2024, there are still (exceedingly) cheap battery banks that don’t even support USB BC rates. Motherboards are also a mixed bag, unless they specifically say what they support.
So if you’re comparing, for example, the included phone charger with a Samsung S20 (last smartphone era that shipped a charger with the phone) is capable of 25 W charging, and so is the phone. Unless you bought the S20 Ultra, which has the same charger but the phone can support 45 W charging.
Charging the S20 Ultra on a 2004-era computer will definitely be slower than the stock charger. But charging with a 2024-era phone charger would be faster than the included charger. And then your latest-gen laptop might support 60 W charging, but because the phone maxes out at 45 W, it makes no difference.
You might think that faster and faster charging should always be less and less efficient, but it’s more complex since all charging beyond ~15 Watts will use higher voltages on the USB cable. This is allowable because even the thinnest wire insulation in a USB cable can still tolerate 9 volts or even 20 volts just fine. Higher voltage reduces current, which reduces resistive losses.
The gist is: charging is a patchwork of compatibility, so blanket statements on efficiency are few and far between.
Gallium Nitride based modern phone chargers are 95% efficient.
The very best, most expensive PC power supplies on 115v AC will only reach 94% at the very specific 50% load of power supply rated wattage. So if you have a 500 watt power supply, and aren’t using almost exactly 250 watts, you aren’t getting that 94% efficiency. Regular power supplies under normal variable load conditions are going to be somewhere in the 80% efficient range. If the PC is idle, that efficiency can drop to 20% (but it’s fine because it’s only a few watts).
https://forum.level1techs.com/t/super-high-efficiency-300-400w-psu/184589/2
So using a modern Gallium Nitride stand alone charger will be more efficient. It will be extremely more efficient if you use that stand alone charger instead of charging off your PC while your PC is idle.
Counter point. Most computer power supplies have a curve to their charging efficiency (somewhere north of 50% load). If your PC is substantially below the peak of that curve, then adding load (the phone) could raise the PSU’s efficiency say from 80 to 85% (I’m making up numbers) which would affect the overall efficiency of the entire PC’s load.
I think your answer is still probably correct, but it’s an interesting nuance to think about.
Side notes: Some PSU’s use gallium, e.g., Corsair ax1600i, though by and large most do not. Also if your in the EU then your working with 220/240v PSU’s which adds more efficiency, but that would apply to the phone charger as well.
It is a little bit more efficient, because your PCs Power Supply is not very efficient when you dont use much power. By using it more of it, it becomes more efficient, peaking somewhere at 50%. But: we are talking about very little differences here and only for Desktop PCs. When you use a Laptop, you Powersupply is way less powerful, so you use more of it by just using the Laptop. So in that case, i would rather use the charger. To be perfectly honest with you: All that is not realy worth thinking about. Its like opening your Fridge for only 6 Secounds instead of 8. Yes, its saves power, but there are petter ways to do so. Doing only 1 kilometer less with your electric car ist about the same as charging your phone 10 times.