How do I just charge (i.e. not mount for data transfer) a Galaxy Nexus when connected via USB to a PC? I like to be able to charge my phone from any PC I happen to be using. With my previous HTC Android, I could default to "charge-only" and only switch it to "mount as disc drive" when I wished to, on my own machines.

Why? Being prompted for driver installs (at least on a Windows machine) is annoying;  connecting a storage device to a PC I don't own may be against policy/protocol/politeness.

It would appear that the Galaxy Nexus uses two protocols, MTP and PTP; I currently have only MTP switched on, but can't turn it off.

I could try to find a '"USB" cable that only connects pins 1 &amp; 4 ... [to provide] ... power and no data'.. But this would mean carrying two different USB cables around.

Any other solutions?
This feature is called "fast charge", and it charges your device slightly faster by disabling the USB data capability. It's not available in the stock ROM that I know of, so you need a ROM and a kernel that you know supports this. I'm using AOKP with the Franco kernel and it works great on my Galaxy Nexus, so you could try that. (There's even a quick toggle for fast charge available).

There's probably not an unrooted solution for this.


  Being prompted for driver installs (at least on a Windows machine) is annoying


It might be good to know that installing the correct USB drivers for the Galaxy Nexus in Windows is not something that happens automatically. If you decide to root and flash your device, you'll encounter this; I highly recommend using Galaxy Nexus Toolkit to make the procedure as easy as possible (it's really not that hard).