The Keene Powerswitch is a high quality mains power connector block designed for easy switching of AC power up to 10A . Buy the optional KLD151 USB to jack cable (or make your own) and use the Powerswitch to switch on or off any device you like when USB power is present.
eBay