USB Type-C Dead Battery
USB Type-C (usually referred to as USB-C) chargers support a fairly sophisticated protocol for selecting charging voltage and current. What is important, when nothing is connected to a USB-C port, no power is provided. The device that wants to be charged must tell the charger what it wants. Otherwise no charging takes place. This is designed so for may reasons, but the simplest explanation is: a connected device may not want to be charged at all: imagine using a USB-C cable to connect one charger to another charger. If there was any voltage present by default, the result could be catastrophic. The simplest way to tell the charger to offer the default 5V (as in USB-A legacy chargers) is to use the so-called Dead Battery mode. This is described in Section 4.8.5 of the Type-C specification. The device that wants to be charged (known as the Sink) must apply 5.1kΩ resistors to both CC1 and CC2 lines (pins). The term Dead Battery (from the Type-C specification perspective) describes a device...