Batteries for agricultural and construction machines