Surely a USB-powered device would be ideal for this, especially as you'd also be able to set your preferred temperature using a handy program on the PC!
I don't think I want the mug tethered to my computer, really. By all means have it plug into USB to reprogram and/or recharge, but while it's in operation it ought to just attach round the outside of the mug with elastic or some such and not have a trailing cable.