Chosen Solution

I took my phone to a repair shop as i completely smashed my screen. He managed to replace the screen but now my phone will only connect to Vodafone network when plugged into a charger. If i remove the usb from the charging port it goes to no service

Sounds like the battery may have gotten disconnected and/or died. Huawei P20 Pro Battery Replacement