Beware of Juice-Jacking
krebsonsecurity.com
krebsonsecurity.com
Just be careful not to plug the resulting cable into a computer -- you are likely to draw more current than permitted by the USB spec, and could potentially cause an issue.
(I suppose you could potentially cause an issue with a charging kiosk too, if it's a computer rather than a dumb brick, but it's not really the kiosk I'm worried about.)
It may make sense to not leave them "floating", not sure how chargers do (I mean, not considering the ones that do some electric tricks for the device to recognize their "vendor extensions")
You might find the following interesting: http://www.ladyada.net/make/mintyboost/icharge.html
If you have an iDevice, you have more work to do.
Edit: Figured it out, it actually only presents storage when plugged in if you unlock the phone. If you unplug the phone, let it lock, then plug it back in again, you're ok.
An Android device would charge as quickly as if "fast charge" (charging with data lines as well) is turned off permanently. It's a considerable drawback, because now it will take four hours to charge up instead of two.
Added bonus: You can charge when you get to the hotel, too.
Granted airports and what not are slowly coming around but having a 'red' charging cord which not only worked in your AC charger but could also be plugged into a random charging station and "do the right thing without putting you at risk" that would be moderately handy gizmo.
If you're making it as a product, the thing to do is this: Have the 'USB condom' try to enumerate as a device, and request the maximum power draw possible, then offer the same to the chained USB device. If the 'USB condom' detects shorted data lines (meaning a fast charger), then short the downstream data lines to the device.
You could probably sell these for a decent price, once this story gets out. :-)
If it's just pure juice coming out of the connector it just loads.
If there's some process that tries to initiate a data connection you get two buttons, asking:if you want a PC-Suite, or a mass storage connection.
That would look pretty fishy when I just try to juice up my phone.
That said I think he makes a very valid point and my phone is pretty much an exception nowadays (as, unfortunately are Nokia smart phones in general).
Do newer Android devices also have something similar to this?
(As far as I can recall, adb works fine with the screen locked. The fact that I don't know for sure suggests that I do not, in fact, know what I am doing...)
(Unless it's a multi-headed cable like: <https://www.sparkfun.com/products/11515>.)