It is all about resistance between pin 4-5 of mini-USB plug. Unconnected means PC cable, 18KOhm is Garmin charger with 1A supply current, shorted is standard USB charger 500mA. See:
Code:
Please Login or Register to see the links