Is there a specific source you are reading to come to these conclusions? A lot of propaganda out there that are anti-factory farm are not really all that true to life so you have to be careful where you get your info from. Meat chickens are not raised in battery cages, but rather free run in large houses or barns.
Some ways to help egg chickens and avoid caged farms include participating in adoption of hens after they are "spent" and buying from cage free or organic farms. There are many, many really good farms that raise their animals in a very humane way. My problem with videos and pamphlets about cage chickens is that they are meant to make people emotional about the topic but are not necessarily a good representation of the practice itself. Cage free and organic can have their own set of issues as well.