Two things.
1. Are you saying you repleaced a discharged battery with a new one to correct the issue.?
If so, beware, as you may have a charging problem. A good depleted battery can simply be recharged. It doesn't neccessarilly have to be replaced. If you DO have a charging issue, you can expect your new battery to deplete, as well.
2. You will certainly need good cables to connect the battery to bike power distribution.
Cheers,