This procedure may also work for other MYs and models.
2021 Key Fob Power Save Mode
I just learned that the key Fob has a power saving mode. It’s in the OM, but somehow I missed it and recently my car has been saying ‘key fob not detected’ every time I go to start it. You’ll know if your fob is in this mode if the little red operation light doesn’t flash when you press buttons...
www.mazdas247.com