Left pedal shuts off after waking up right pedal

I replaced the batteries on both pedals I did this on the left one and was fine, showed up on garmin connect and blinked green. Once I replaced the battery on the right pedal, it showed both on garmin connect and my edg 520. Right pedal blinked red and after that both disappeared and got disconnected. They won't wake up anymore. This keeps happening even if I remove the batteries again. Help pleaae Pray