The electrical in the car has been acting strange. The power locks go up and down on their own, and the rear view and side view mirrors power don't work anymore (I have to do it manually with my hand). the check engine light keeps coming on periodically, my heater and air condition only work sometimes (it comes on sometimes or not at all).
The problem just started about three weeks ago. Please respond. Thank you.
Sounds like you might have more going on than a "safety ghost," however. Since the problems are sporadic, it's likely to be caused by a loose connection somewhere in the electrical system. You don't say what happened three weeks ago that could have triggered the problem: did it just start randomly? Did you encounter flood waters that might have caused an electrical short? Did you hit a particularly hard bump that could have knocked something loose?
Your first step should be to check the fuses to make sure nothing is loose or blown. Also, you should have your onboard diagnostics read to see if your car computer is throwing an error code that could help you track down the issue. Many shops offer this service for free or at a low charge.
The Chevrolet Cobalt was sold from 2004 to 2010, and didn't have very many changes during its lifetime, so you should be able to find information about your fuses by downloading the following owner's manual from Chevrolet: https://www.chevrolet.com/content/dam/Chevrolet/northamerica/usa/nscwebsite/en/Home/Ownership/Manuals_and_Videos/02_pdf/2008_chevrolet_cobalt_owners.pdf Fuse information starts in chapter 5, around page 105. (Even though it's for a 2008 model, the fuses should be similar.) That can get you started
For additional assistance, please find an AskPatty Certified Repair Shop at http://www.askpatty.com/search/?type=all&m=30&q=&keyword= and they can help you diagnose and repair the problem.