Laptop battery won’t charge (0%), is it damaged?

My laptop battery won’t charge anymore, sits at 0%, and the laptop only operates if plugged to the AC adapter (it detects the power cord, but charge remains at 0%)
The battery is already 2.5 years old, saw extensive use (at least daily recharge). so I wouldn’t be surprised if it is damaged/beyond repair, but could it just be a software issue? I’m running Arch Linux.