Here is how the battery light circuit works.
A light bulb works when it has different voltages on it's 2 terminals.
So if you hook up both terminals to 12volts what would happen?
Nothing .............with 12volts on both no power is passing thru the bulbs filament so it won't glow(light up).
If you hook up one terminal to 12v and the other to 0v(ground) power would start to flow thru the filament and bulb lights up.
Battery light gets 12volts from ignition switch on one terminal when key is turned on, it's other terminal is connected to alternator's voltage regulator(in alternator).
When engine is off the alternator is not producing power so is a Ground(0 volts), battery light is on, 12volts on one terminal 0 volts on the other.
When engine is running alternator is producing power, 13.5 volts, or higher, so now battery light has 13.5v on one terminal and 13.5 volts on the other, bulb is off because no power is passing thru it, both terminals have equal voltage.
Lets say engine off battery voltage is 12.5volts
If alternator should start to fail and its voltage drops below 12.5volts then battery light will start flickering because battery's 12.5v is passing thru the bulb to failing alternators 12volts or less.
It could be voltage regulator issue or alternators fields but voltage is down below battery's voltage which means problems.
Diagram here:
http://www.therangerstation.com/tech_library/EDiagrams/files/Diagram_charging_1991_2.JPG
Look at the alternator "I" wire, LG/R wire(light green/red stripe wire), this is the Battery Light wire.
This is on the 3 wire connector on the alternator.
You will also see this light bulb has a resistor by-pass, that is because this wire is also the ON/OFF switch for the alternator, it is dual purpose.
An alternator will draw power from the battery if left on all the time, the internal voltage regulator needs the battery voltage on the "I" terminal to "turn on" alternator.
The resistor is there in case bulb burns out, without the resistor the alternator would not charge battery with engine running, it would be OFF, it is a failsafe so burned out light bulb won't leave you stranded with dying battery.
First get a Volt Meter, test battery voltage with engine off
12.3-13volts
Start engine should now be above 14volts, battery is being recharge from starting drain, should stay under 14.9volts
After running for 3 to 4 minutes voltage should be 13.5-14volts, this keeps battery charged but won't "cook it"
Rev engine and hold it at approx. 2,000rpm, voltage should go up then drop down to what it was before, 13.5-14volts
That is the voltage regulator doing its job, maintaining battery voltage without overcharging it.
At idle turn on all the lights, heater fan and anything else, voltage should drop and then come back up to 13.5-14volts