This is always a difficult one and we can go round the houses and then admit defeat and put a new battery in. While many get 6-8 years out of a battery, once a battery gets to 4 years of age and particularly if it has been abused ( allowed to go completely flat or overcharged) then you should not be surprised or upset to have to replace it.
But before getting your hard earned ready try this:
1. Check the charging circuit voltage - you do not want to put a new battery into a bike that is going to fry it and put you in the same position.
2. Remove the battery connections, clean them up and coat in petroleum jelly then snug them up firmly to ensure a good connection.
3. Measure the standing voltage.
4. Go for a ride of an least an hour.
5. Measure the standing voltage.
I did post in a thread somewhere of an inline voltage monitor that I fitted to my instrument panel if I can find it - you may wish to consider fitting it is very useful peace of mind considering the issues that arise with the OEM regulator.
See this thread
Example part and vendor - ebayUK link