Hi @Darryl Lam
I know it feels like the format caused this, but one detail in your post really narrows it down: UEFI does not show the battery either. UEFI runs before Windows even starts and reads the battery straight from the hardware, so a format, a reset or a driver cannot hide it there. The timing is most likely a coincidence, with the battery or its connection giving out during the shutdown and restarts of the reinstall.
You have already done the 20-second restart and the Surface Pro 8 driver package, so I will not send you through those again. Here are some suggestions you can try:
With the charger plugged in and the LED lit, unplug it for a second. If the Surface shuts off instantly, the battery is not supplying power at all, and that confirms it is a hardware problem rather than Windows not seeing it.
Leave it on the original charger, powered off, for 2 to 3 hours and then boot into UEFI again (hold Volume Up while pressing Power). A battery that has run down to nothing can switch itself off for safety and sometimes wakes up after a long charge. If it reappears in UEFI, Windows will pick it up on its own.
If you have a USB-C laptop charger of 60 W or more, try charging through the USB-C port instead of the Surface Connect port for the same amount of time, to rule out the charging path.
Run the Surface Diagnostic Toolkit from the Microsoft Store and the Surface app's Get help option. They will not fix a dead battery, but the report is useful to attach to a service request.
If the battery still does not show in UEFI after that, the realistic next step is a service order, since Microsoft's own guidance ends at service once a reset has not brought the battery back. Go to https://account.microsoft.com/devices, pick your Surface (or register it with the serial number from the Surface app), check the warranty and create the order. Out of warranty, a Surface Pro 8 battery replacement is a paid repair; please do not open it yourself, the battery sits under the glued screen.
Sorry it is not better news, but at least you can stop chasing software fixes.