Vaio laptop wont operate without charger plugged in

Vaio laptop won't charge and won't operate without charger plugged in. The on screen indicator with show it charges after initial startup then doesn't show that it charges any longer. If the power cord is removed, the computer shuts down immediately. New power jack was installed and new battery, tho not genuine Sony battery. Tried with the original Sony battery which did take a charge prior to new jack, but won't charge now. Could the new power jack be bad?
 
Disconnecting AC charger and an immediate shutdown is a sure sign that the battery needs to be replaced
 
Back