Oneplus 6 Charging while in Windows 11 ?

Hello, I have now completely installed Windows 11 on my Oneplus 6. But I think loading doesn’t work when I’ve booted windows. Is there anything I should watch out for if I want it to charge while I’m in Windows?