Charging system problem. Normally this means there is a problem with the alternator.
Probably your battery cable or cables are loose on one end or the other.
The security light might come on while you are driving because it has a motion detector on it and when it senses the cars movement the light comes on.
I had a 1999 Grand AM same thing happened to me. A while after that i was driving and the radio lost power, then the power steering. I had the alternator and battey replaced and that fixed the problem.
More likely than not the alternator has failed. Have the electrical system checked at almost any auto parts store for free.
First off you posted this in the wrong section. lol Anyway the light usually comes on when the alternator is no longer charging the battery while driving, most likely it means that either the battery has low voltage or your alternator is becoming a little faulty.
Check your battery. And have your alternator checked. Most auto parts stores will do it for free.
theres a good chance your alternator is on its way out
Why would battery light come on then go off
The alternator may not be charging it enough. With the engine running at an idle check the voltage at the battery with a DC digital voltmeter. It should read from 13.5 to 15.5 Volts. Anymore, or any less, and the alternator is suspect. You might also have a defective battery.
If you're driving a manual, it means that you've stalled out. Turn off the car and restart.
You may be mistaken it for the DDL's (Daytime Driving Lights) They come on while in gear... High beams have a BLUE light on the dash, while, the DDL's have a GREEN light.
If it is undercharging the battery yes, but if it is overcharging the battery no in most instances. If it fails completely the light will come on.