Battery pack calculation capacity