Unfortunately, different manufacturers have different specifications, so there is no universal solution (Figure 1).
Fig. 1: Various DCP resistor configurations for different portable device manufacturers
Partly to avoid this confusion, the USB3.1 standard introduced a battery charging specification that allowed the portable device to communicate with the charger to set variable output voltage, current and power limits appropriate for the charging capabilities of different portable devices and the connector variant used (type A, B, micro-B, type C).
However, even portable devices fitted with an USB-C connector can still be charged via a legacy charger as the USB standards are backwards compatible, it may just take longer to charge compared to a dedicated USB 3.1 charger.
Fig. 1: Various DCP resistor configurations for different portable device manufacturers
Partly to avoid this confusion, the USB3.1 standard introduced a battery charging specification that allowed the portable device to communicate with the charger to set variable output voltage, current and power limits appropriate for the charging capabilities of different portable devices and the connector variant used (type A, B, micro-B, type C).
However, even portable devices fitted with an USB-C connector can still be charged via a legacy charger as the USB standards are backwards compatible, it may just take longer to charge compared to a dedicated USB 3.1 charger.