@Journeycastro12, what battery (brand and product number) did you actually buy and install in your car? Providing that info helps forum members determine if the battery capacity and battery technology is appropriate for your car.
As an FYI, our VE/VF use a sealed calcium enhanced flooded lead acid battery but AGM batteries can be used though they are more pricey… You shouldn’t use an old style open vented flooded lead acid battery as they don’t play nice with the smart charging that our cars provide.
We should also be aware that not all batteries we buy are well maintained by the retail store. As such, it’s important to check the batteries resting open circuit voltage is between 12.6-12.9V before handing over your money. If the battery voltage becomes too low during storage, that shortens the battery’s life (and can be like buying old milk on the day it reaches it’s used by data, workable but not ideal)… So did you check the resting voltage before you bought it and was it ok?
And even good batteries may not be 100% fully charged when we buy them so it’s a good idea to ensure it is 100% SOC before you install it in the car. So did you connect your battery to a charger to ensure it was fully charged before installing it into your car?
The above mentioned are “extras” worth doing beyond load testing that the battery was actually faulty (before replacement) and testing the vehicle‘s charging circuit wasn’t the cause of the old battery’s failure (else the fault can kill your new battery)…
Keep in mind that Holden VE/VF use a smart charging system and it may take some days before the vehicle charging logic (within BCM) determines what the battery state of charge is (which is why it’s good to ensure SOC s 100% when installed as i suspect that helps speed up the process). It’s the BCM charge logic which uses SOC and current draw to command an appropriate alternator charge which it does to prolongs battery life... something it cant do if the battery, the wiring or the alternator is faulty…
As to why the charge light comes on and off,
check for DTC’s as these smart charging systems generate fault codes when problems occur. As mentioned, check the alternator wiring is firmly attached at the alternator but also check the current sensor at the battery earth lead isn't visibly damages and the connection to the vehicle wiring is ok (since without a current sensor the smarts don’t work well)…