Had a pre-coffee idea this morning: auto-ejecting USB ports.

Device all charged up? Port automatically ejects the cable.

Malware on thumb drive? Host spits it out.

Files all copied successfully? Ptoooie!

@jgilbert
I can just imagine a manual upgrade or rooting of a USB device, half way through writing the new firmware, the device is fully charged and the cable gets ejected.

Upgrade failed / checksom error / boot loop...