There is disclosed methods and apparatus for testing and emulating a
device's power characteristics. Power is supplied to a device and the
device's power draw characteristics may be recorded as a script. Scripts
may be stored in a library. The scripts may be replayed to draw power and
emulate a device.