2007 Pontiac G6 2.4 charging problem

If its a bad alternator which is highly likely, I would highly suggest getting the AC Delco rebuilt or new. The new ones have a lifetime warranty and the rebuilts are just like new with all the parts that are replaced. They cost a little more but you get a quality product. Been there done that and saw the light.