Say again s l o w l y.....
I suspect (sorry) that it's had it! .....Likewise, exactly the same scenario with my previous Dell, even though used predominantly on mains supply. .....One minute you think 'all's well', then "#!#!#!", no charge; same after full recharge. .....I was told (not sure if true) a couple of years is the best you can hope for.
Having said that, put 'laptop battery' into
Google (UK) and you should find a myriad of more reasonably priced options for your Sony without going to the original manufacturer, like
this one (selected at random without checking comparisons. .....I'm sure there will be a better deal).