The CDI Unit is powered by the AC current coming from the wrapped stator winding. This current is stored in a capacitor within the CDI unit. When a signal is received by the trigger pickup passing over the flywheel magnet, the CDI will discharge the stored energy into the wires leading to the ignition coil..