|I assume then that it was not working before you changed the battery?|
Is the computer completely dead, with no signs of life whatsoever?
If so it can only be a hardware problem, which incudes the power adapter. It should run even with the battery missing.
If you need more help then please provide the make and model number of the computer.
Always pop back and let us know the outcome - thanks