If the battery light is on this indicates a 'smart' charge (if fitted) or alternator/battery fault.
The dials sweeping back and forward usually indicates a very weak battery so it could be you have a charging problem or the battery has had it.
If the car has 'smart' charge you cannot fit any battery, only the type specified.