Here is an annoying problem with Windows 11 with laptops not turning on unless they are connected with an adapter. In situations like this I like starting with Windows power options and then take it from there to see if everything is functioning the way a computer should function.
If that does not work then continue troubleshooting with the additional information from the link below.`