I also just got the Repair Code: 0 and BATTERY INVALID: -22 on my 10th generation Kindle Paperwhite. Warranty ended one year ago. I received the same advice for both Windows and Mac: Windows: Connect the Kindle to a computer via a USB cable. Open the file explorer (folder icon) and click This PC and open the Kindle drive. Create an empty text document file in the Kindle main folder called DO_FACTORY_RESTORE by right-clicking and selecting New > Text Document. Click on the Start menu (Windows icon). Type File Explorer Options in the Search Bar and select it. Click the View tab and uncheck Hide extensions for known files under the Advance Settings section. Click Apply > OK. Return to the Kindle primary folder and delete the extension .txt from the DO_FACTORY_RESTORE file name. Close the Kindle window. Eject the device safely. It should be in the task bar in Windows. Right click on the Kindle icon and click Safely Remove Hardware, click on it and select the Kindle. Unplug the Kindle and restart the device by...
As mentioned, I wish the instructions would flip these instructions to have the repairer test things before pressing down the battery on the adhesive. Like so:
Now is the best time to test powering on your watch and test the force touch function—if it doesn't turn on, double check all three connectors and try again.
Rotate the battery down into its slot, and press it into position.
Press the battery down against the system board to re-adhere it in place.