I have heard that multi-billion dollar operations, i.e. GM, Toyota, etc.., change their batteries once a year.
We keep our machines powered on 24/7. We also get brown outs one a month or so and don't have any battery problems.
We never change batteries. Probably not the best idea, but it has worked so far.
But, we also run our machines into the ground pretty fast. Most machines here are under 12 years old.
After 30 - 40 million parts, they get replaced with a newer model.
The only battery I have had to replace lately was on a new L32 CompactLogix that would dump it's memory when power was cycled.
Actually turned out not to be the battery, it was an inductive spike from a 480v to 120v transformer. A line filter cleaned it up.
So from what I see, if you leave your machines on all the time, batteries aren't that much of an issue.