The iPad charge port provide some simple devd scripts which can enable or disable charging on your iPad/iPod/iPhone when it is connected to the USB port on your PC.