The car’s battery light flickers while my engine idles.
Please offer some ideas.
Have your alternator checked.
Also, a loose/slipping serpentine belt could be the cause. If the belt is slipping it could prevent your accessories (alternator, power steering etc.) from spinning at the proper speed.
However if it is just the battery light that flickers and there are no other related symptoms, it is probably a bad alternator.