if it sounds like it barely has enough power to turn the starter then 'd say battery, if it fails to engage the starter could be battery or starter, if it cranks fine just does not start I'd put a pressure guage on the fuel rail/line to see if it's getting enough pressure to the injectors