Hello @mandyRS and welcome to the forum. They are not ex-battery hens, the photo looks like a hybrid layer.
A sloppy, slimy looking poo like that, particularly green in colour says to me a sour crop problem. This is where food in the crop doesn't pass through quickly enough and begins to rot...