Spain is talking with Mitsubishi Corporation about building a factory for electric car batteries in the northwestern town of Vigo, economy minister Elena Salgado said.