Use this at your own risk. I’ve been using an old Dell D630 for my lab work and had to update the BIOS for automated TPM activation. It had a dead battery and I was only using a power adapter. I could not flash the BIOS since the battery was not being detected. See workaround below. Run command line with elevated rights.
It worked. 🙂