I made a project with pico w and bme280, but I’m interested in how to train the pico w to work via an external power supply. Everything works fine from the thonny program.
It might help if you explained the issue you are facing in more detail, and how you are attempting to power your board.
Details of the battery would help.
Trying to obtain useable information from you is proving very difficult!
I’ll step away from this topic and see if other forum members would like to try to squeeze useful information out of you.
Good luck with your project.