The Dangers of Overcharging Devices and How to Prevent Them