Bike wouldn’t start 2020 GT

That sounds like a keyless-entry or fob detection issue rather than a straightforward battery problem. Since the bike started when the fob was held near the rear mudguard, I’d recommend having the dealer check the keyless antenna, receiver and related wiring. Hopefully they can identify the fault without replacing unnecessary parts.