You can check bmwusa.com to see what the warranty covers. I'm not sure what the issue with your car is but it will most likely be covered under the 4 year/50,000 mile new car warranty. When you go to the dealer, have them print you out a carfax report or have them tell you what the original in service date was so you know how long your warranty is good for.
2015 320i xDrive | Imperial Blue Metallic/Black SensaTec | Sport Package | Lighting Package | Moonroof | Heated front seats
Past BMWs: 2006 330i, 2000 323i