They will replace your battery if it fails their diagnostic test!
/s
That’s a big if there ...
And even if they change the battery you’re just going to buy some time before throttling reoccurs , especially if not the battery alone but other factors or combination of factors lead to the need to prematurely cut power consumption via throttling, screen dimming, lowering speaker output ecc