fix the battery capacity