Modern smartphones are protected against overcharging, but heat and use habits can still degrade your battery over time.