My laptop won't stay on without being plugged in . Has a new battery

Solution
Well if that 'new' battery is an after market battery that may well be your problem. First you need to test if it is charging or not. Try charging it while the laptop is on. Then try charging when it is off. Not sleep or hibernate but turned off.

If it won't charge while on, but will when off, then the charger is going and needs to be replaced. If it won't charge at either time, then the battery isn't functioning correctly/charging. If, however, it says it is charging, both when on and off, then the battery isn't putting out the right amount of power and you need to return it and get a better battery.
Well if that 'new' battery is an after market battery that may well be your problem. First you need to test if it is charging or not. Try charging it while the laptop is on. Then try charging when it is off. Not sleep or hibernate but turned off.

If it won't charge while on, but will when off, then the charger is going and needs to be replaced. If it won't charge at either time, then the battery isn't functioning correctly/charging. If, however, it says it is charging, both when on and off, then the battery isn't putting out the right amount of power and you need to return it and get a better battery.
 
Solution