Chosen Solution

My PC is almost 4 years, the battery is ok and charger but when time to charge cannot function

Try opening device manager, right click uninstall all battery listings that You can, they will be reinstalled after reboot. and before booted into windows remove battery quick like, once windows is booted replace battery… This usually fixes battery issues!…See battery stats if it’s on charge now bottom right if windows,,,