No BLE when connected to external power

Hello, I have the XIAO ESP32C3 and I uploaded a BLE sketch.
If the board connected to my computer, the sketch worked and everything’s fine, but if I connect it to other power source, like another 5v arduino board or my laptop(when its on sleep), the board turns on but I cant find it on the bluetooth device list, its first time I see something like it.
What cause the problem?

Hi , Probably need to see the sketch… ?
GL :-p