Chosen Solution
the battery is not detected by the battery app. won’t charge. phone will work if charge battery in another device but shows only 1%.
If you have ruled out a faulty battery the next thing to check is the battery connector on the logic board as they have a habit of deforming where the pins get pushed into the plastic. The next thing to check is the two MOSFET’s and resistor near the battery connector have not been nudged or knocked off.