Bluetooth Gamepad IDs after they get "paused"

I’m using RetroArch on Android phone (Huawei P30 Pro). When I connect a Bluetooth gamepad, a notification is risen “Connected Pad #1”, and that’s right, 'cos I configured cores for “Pad n.1”.

But, when I leave it “alone” for a while, it goes in “pause” mode, and is “awaken” when I press a button, but in that momento RetroArch recognizes it as a “new” pad (so it notifies “Pad n.2”), which is not usable by cores that want “Pad n.1”, so I have to stop RetroArch at all and restart it.

Is there a way to avoid that?

Thanks in advance.

Yes, this is a known issue with Android. One thing you can do is hit the ‘home’ button and then go back into RetroArch and this should reconnect everything without having to close the program (at least, it works on my Shield ATV)