Battery dead

Hello, I have recently fixed mac that has been broken for over a year. Now I have a problem with the battery. It's stuck at 1% and mac will not work without being connected to charger.

Question: Do I check if there is anything else or is the battery dead and I just need to replace it ?