A battery is on the order of the same cost as fixing an automatic transmission (which basically all US cars have--most of the US can't drive a stick anymore).
And, in terms of labor, a battery is WAY easier to replace than a transmission.
And, in terms of labor, a battery is WAY easier to replace than a transmission.