Does the amount of capacity determine the lifetime?
Yes. The higher the capacity, the longer the battery life. The capacity is expressed in Ampere hours (Ah) or milli-Ampere hours. (mAh). You can usually read how high the capacity of the battery is on the battery itself and on the packaging. For the application equipment, more capacity means more operating time. It is therefore not harmful to use stronger batteries, but it is harmful to use voltages other than those indicated.