A technical breakdown of how smartphones manage power intake, negotiate charging speed, and protect battery health from the moment a.