• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Charging: USB and AC differences

robnoble

Newbie
May 7, 2010
13
5
If I use my HTC Desire for Google Navigation in the car, with the phone plugged into a USB power adaptor for the cigarette lighter socket with the cable that was supplied with the phone, the battery still runs down.

A dialogue pops up when the battery is getting low saying words to the effect that the phone is using more power than is coming in via the charging cable.

I notice that the phone distinguishes between being charged on AC and being charged by USB. In Settings->About Phone->Battery it says, "Charging (USB)" or "Charging (AC)". I believe that charging from a PC USB socket is limited to <500ma by the USB spec. I guess the phone knows that it can draw more current when connected to the AC charger.

The supplied AC charger must have some way to tell the phone that it is connected. Perhaps it communicates with the phone via the USB data lines, or something simpler like the data lines being shorted together?

The USB power adaptor I have in my car can source 1A. If I can work out how to convince the phone to switch to "Charging (AC)" mode then perhaps it can do Google Navigation and charge the battery at the same time...?

Does anyone know for sure how the AC adaptor identifies itself to the phone?

Rob.
 
If I use my HTC Desire for Google Navigation in the car, with the phone plugged into a USB power adaptor for the cigarette lighter socket with the cable that was supplied with the phone, the battery still runs down.

A dialogue pops up when the battery is getting low saying words to the effect that the phone is using more power than is coming in via the charging cable.

I notice that the phone distinguishes between being charged on AC and being charged by USB. In Settings->About Phone->Battery it says, "Charging (USB)" or "Charging (AC)". I believe that charging from a PC USB socket is limited to <500ma by the USB spec. I guess the phone knows that it can draw more current when connected to the AC charger.

The supplied AC charger must have some way to tell the phone that it is connected. Perhaps it communicates with the phone via the USB data lines, or something simpler like the data lines being shorted together?

The USB power adaptor I have in my car can source 1A. If I can work out how to convince the phone to switch to "Charging (AC)" mode then perhaps it can do Google Navigation and charge the battery at the same time...?

Does anyone know for sure how the AC adaptor identifies itself to the phone?

Rob.

Going by pinouts on other USB devices this seems likely.

Handbook of hardware pinouts, cables schemes and connectors layouts @ pinouts.ru have a look through some of the USB pinouts on there i'm sure I read one on there a while back about charging cables.
 
Upvote 0
Throwing caution to the wind, I have just prized open my car cigarette lighter USB power adaptor (currently on special offer at Maplin - Micro DC to USB Adaptor : Caravan & Camping : Maplin), and shorted the two middle pins that were unconnected with a blob of solder.

Now when I connect my phone to it, it says "Charging (AC)".

I'll need to test it on a long trip to see if a) the battery is kept topped up whilst using Google Navigation or other power-hungry apps, and/or b) the car USB power adaptor fails/overheats/catches fire.

I'm hopeful it will be ok. I was impressed to find what looks like a switched-mode PSU inside the adaptor, rather than a linear regulator. Hopefully this will current-limit if the phone tries to draw more than the 1A is is designed for.

Rob.
 
Upvote 0
Will be interested to see how this works.

One interesting point I've noticed. Been using the Wife's Samsung Spica's charger which is rated at 700mA. Now from 5%, hers (1500mA battery) charged in around 90 minutes.

My Desire was put on at 18% earlier, and is still at 89% after 2.5 hours!

So what gives?
 
Upvote 0
Throwing caution to the wind, I have just prized open my car cigarette lighter USB power adaptor (currently on special offer at Maplin - Micro DC to USB Adaptor : Caravan & Camping : Maplin), and shorted the two middle pins that were unconnected with a blob of solder.

Now when I connect my phone to it, it says "Charging (AC)".

I'll need to test it on a long trip to see if a) the battery is kept topped up whilst using Google Navigation or other power-hungry apps, and/or b) the car USB power adaptor fails/overheats/catches fire.

I'm hopeful it will be ok. I was impressed to find what looks like a switched-mode PSU inside the adaptor, rather than a linear regulator. Hopefully this will current-limit if the phone tries to draw more than the 1A is is designed for.

Rob.

Be careful there Rob, if the regulator cant handle the extra current you may finish up with 12v going straight to the phone, it may work now but be seriously overloaded. As you have shorted the data lines the phone will draw around 800ma (I have measured this ) Be safe and get a yourself a 1amp capacity USB adapter.
 
Upvote 0
Be careful there Rob, if the regulator cant handle the extra current you may finish up with 12v going straight to the phone, it may work now but be seriously overloaded. As you have shorted the data lines the phone will draw around 800ma (I have measured this ) Be safe and get a yourself a 1amp capacity USB adapter.

It is supposed to be 1amp capable (see Micro DC to USB Adaptor : Caravan & Camping : Maplin) but since I don't want to toast my shiny new Desire it's worth checking, thanks.

I'll first need to work out a way of getting to the connections so I can insert an ammeter and attach a voltmeter.

Rob.
 
Upvote 0
Upvote 0
Be careful there Rob, if the regulator cant handle the extra current you may finish up with 12v going straight to the phone...

Ok, armed with an assortment of crocodile clips, two multimeters, one butchered USB extension cable, a selection of resistors and a Scalextrix speed controller (no, really), I've measured the voltage output of the Maplin car USB power adapter at various currents. I've also recreated the smell of Scalextrix racing and reminisced about my childhood days.

Basically it's starts at around 5.25 volts (no load) and decreases to around 3.6 volts at around 2 amps (double the rated capacity!). Somewhere around 2.5 amps it starts pulsing the power on and off.

Possibly if I'd left it on for longer then it would have started cutting off the power at a lower current level, or gone super-critical and triggered a thermonuclear event.

Anyway, the important thing is that the voltage didn't go higher.

Furthermore, I can now tell you that with D+/D- shorted, my phone draws 750ma from the charger input (whether connected to the car adaptor or the original AC adapter), and with D+/D- disconnected it draws ~450ma. This is when using the lead supplied with the phone, but also connected through the doctored USB extension cable, croc clips, etc.

However, if instead I use another cable which has two pins shorted in the MicroUSB plug itself (I assume the D+/D- pins, but didn't check), then although the phone says, "Charging (AC)", it only draws 500ma.

So the bottom line is that the choice of USB cable does seem to affect the charging current, as does the state of the D+/D- pins in the charger and/or cable.

Rob.
 
Upvote 0
Ok, armed with an assortment of crocodile clips, two multimeters, one butchered USB extension cable, a selection of resistors and a Scalextrix speed controller (no, really), I've measured the voltage output of the Maplin car USB power adapter at various currents. I've also recreated the smell of Scalextrix racing and reminisced about my childhood days.

Basically it's starts at around 5.25 volts (no load) and decreases to around 3.6 volts at around 2 amps (double the rated capacity!). Somewhere around 2.5 amps it starts pulsing the power on and off.

Possibly if I'd left it on for longer then it would have started cutting off the power at a lower current level, or gone super-critical and triggered a thermonuclear event.

Anyway, the important thing is that the voltage didn't go higher.

Furthermore, I can now tell you that with D+/D- shorted, my phone draws 750ma from the charger input (whether connected to the car adaptor or the original AC adapter), and with D+/D- disconnected it draws ~450ma. This is when using the lead supplied with the phone, but also connected through the doctored USB extension cable, croc clips, etc.

However, if instead I use another cable which has two pins shorted in the MicroUSB plug itself (I assume the D+/D- pins, but didn't check), then although the phone says, "Charging (AC)", it only draws 500ma.

So the bottom line is that the choice of USB cable does seem to affect the charging current, as does the state of the D+/D- pins in the charger and/or cable.

Rob.

Rob, those figures stack up with my results too. I used a Lab powersupply rated at 3Amps set at 5V output.

I found the two charging rates on the phone are 400ma USB only and a shade under 800ma with the data lines tied together.
 
Upvote 0
that belkin one linked doesn't charge the handset at the full 1amp recommended, found that out at my peril today when driving back from manchester using the sat nav. also checked using the battery status in the phone and in the car it only shows charging usb when connected. must mean that these don't output whats required

btw whats the easiest way of tying the 2 data lines together? tried with a piece of foil on a spare micro usb cable but this didn't seem to work
 
Upvote 0
I think the bottle neck is being caused not by the type of charger, but by the supllied USB lead from HTC themselves

I originally posted this on the Google Navigation thread, but it also fits in here




Just carried a little experiment, with interesting results

Last week I bought a car holder and charger from eBay (item no 170467443547)
The holder is a little plasticy but fully adjustable, but what do you want for less than 7 quid delivered

The interesting thing is, that the supplied charger say output 600 - 750ma
58f3410f.jpg


I just did a 35min journey, Google Navigation + GPS + Auto screen brightness
According to the battery graph produced by Battery Snap, the charge state rose from 64% to 69% in that 35mins

It would appear that the Desire is able to pull more charge than 400ma, as long as the charger is able to supply it
Maybe the bottle neck is caused by the supplied USB lead from HTC
 
Upvote 0
Hi Rob

I've got the same USB car charger from Maplin's, is it the two centre points I've highlighted in red that you need to solder together? (Image attached)

And can you confirm that when using this and the HTC supllied lead it charges the battery whilst using navigation?

Thanks,

Bruno
 

Attachments

  • IMAG0031a.jpg
    IMAG0031a.jpg
    309.8 KB · Views: 611
Upvote 0
Hi Rob

I've got the same USB car charger from Maplin's, is it the two centre points I've highlighted in red that you need to solder together? (Image attached)

And can you confirm that when using this and the HTC supllied lead it charges the battery whilst using navigation?

Thanks,

Bruno

so it would appear that i'll have to prise open my new belkin adaptor to make this change then. might drop their cs an email and see what comes back from that
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones