After a showdown with local officials in which Tesla (NASDAQ:TSLA) refused to comply with a stay-at-home order, the relationship between the electric vehicle (EV) automaker and Fremont, California (the home of the company's automotive plant), may seem strained. Documents recently filed with the city government, however, suggest otherwise. According to the filing, Tesla plans to build a battery research and manufacturing facility in the northern California city.

Of the 470 employees that will staff the facility, 400 will "work in shifts, such that there are 100 employees working at manufacturing and production operations at any given time, all day, every day," the filing indicates. The company estimates that construction of the project, code-named Roadrunner, is expected to take about three months.

A red Model Y on a road

Image source: Tesla.

While Tesla appears motivated to rely on itself to a greater degree for its EV batteries, the company's simultaneously expanding its partnerships, recently signing an agreement with Panasonic related to its manufacturing of lithium-ion battery cells for Tesla at the Gigafactory in Nevada. In addition to pricing that lasts through March 2023, the agreement indicates that the relationship between the two companies will expire 10 years "after Panasonic achieves certain manufacturing milestones."

Should Tesla succeed in bringing the new battery facility to fruition, it could ultimately help the company generate a wider margin on the sale of its vehicles, as batteries are the most expensive part of EVs.

This article represents the opinion of the writer, who may disagree with the “official” recommendation position of a Motley Fool premium advisory service. We’re motley! Questioning an investing thesis -- even one of our own -- helps us all think critically about investing and make decisions that help us become smarter, happier, and richer.