In this paper, the power constraints of battery energy storage systems(BESS) are considered by designing a cooperative consensus algorithm utilizing Soc containment control. For batteries of different capacities, power constraints and Soc balancing can be achieved under undirected topology and containment control. The distributed event-triggered mechanism is adopted to reduce communication time and consumption of communication resources. In the last section, the effectiveness and stability of the designed control strategy are verified by MATLAB simulation.