Battery 1 = tablet/clipboard battery
Battery 2 = base/keyboard battery
If Battery 2 is charging normally but Battery 1 stays at 0% / not charging, the problem is almost always hardware-related, not Windows.
Open Command Prompt as Admin and type:
powercfg /batteryreport hit the Enter key to check the battery health.
Shut down
Hold Volume Up + Power
Enter UEFI
Plug in charger and wait
If Battery 1 still doesn’t charge in UEFI, it is 100% hardware.
In that case you have to replace Battery 1.