Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Establish 2-way communication

The middle pin on a magsafe power supply is used to send data two ways. It uses the 1-wire protocol and passes along (among other things), the serial number of the charger, the amperage of the charger, the power type (so the computer won't try and charge using an airplane adapter). Negotiation happens between the charger and computer for power and the LED color.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: