Now , cadmium is mainly used in nickel cadmium batteries .
Cadmium compounds were used to stabilize plastic . With the exception of its use in nickel-cadmium batteries and cadmium telluride solar panels , the use of cadmium is generally decreasing in its other applications .