BMW has issued a voluntary recall of more than a half million 1-Series, 3-Series and Z4 models from the 2007 to 2012 model years. BMW says the cars could suffer engine stalling as a result of the loss of electrical power.

The New York Times reports, "The automaker says the problem is caused by the wear and tear on the cable to the battery, which is located in the trunk. That could cause the engine to suddenly shut down."

The Wall Street Journal adds, "BMW said it built the affected 1 Series coupes and convertibles from December 2007 through July 2011; the 3 Series coupes and convertibles from March 2007 through July 2011; 3-Series sedans from March 2007 through October; 3 Series sport wagons from March 2007 through June 2011; Z4s from March 2009 through June 2011."

Forbes writes, "Unfortunately for BMW owners, this is hardly the first time that sudden engine stalls have besieged the owners of the ultimate driving machine." In 2010, Forbes reports, BMW recalled 130,000 models for a problem with their fuel pumps that caused engine stalling.

The recall is voluntary, and according to the Associated Press, BMW knows of one minor collision in Canada as a result of the problem. BMW will start contacting owners of affected vehicles in March; dealers will replace the battery cable connector for free.  If you have questions for BMW, you can call the company at (800) 525-7417.

In the market for an upscale midsize car?  Check out the U.S. News rankings of this year's best cars. Then, look for a great deal on a new car by checking out this month’s best car deals. Also, be sure to follow us on Twitter and Facebook.