Posts

Showing posts from March, 2026

USB Type-C Dead Battery

Image
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...

Misleading iOS Time Updates

Image
I have a truly love-and-hate relationship with my Garmin watch. I love it for the looks. And for keeping record of my daily trail runs. And for holding backup topographic maps of (almost) the entire planet. And for being the flight computer on long distance flights. Actually the last part is also a contributor to the hate part. As it keeps the location track in flight through combined satellite readings, it also updates its time to the GPS time. And a time zone with it - meaning it always shows accurate time for the current location. Which is useless when you are just a passenger. You wake up in the night, look at the watch - it shows time, but at a glance you just don't have an idea in which time zone you are in. Yes, there is always 1pm somewhere on Earth. But generally when flying, the best way is to have either the departure time zone or the arrival time zone, not something in between. A phone use to be then a much more convenient time source - just showing the departure time z...