If a phone loses a lot of charge while switched off, something is leaking current, or the battery itself is worn.
1. Charge to full, switch off, and check after 12 hours. Losing a few percent is normal. Losing most of it is not.
2. Fit a known good battery and repeat. If the drain stops, the old battery was the problem.
3. If it continues, connect the board to a DC power supply with the phone off. A working phone draws almost nothing when off.
4. A steady current draw when off points to a leaking part, often a shorted capacitor or a water damaged area.
5. Look for corrosion first, especially if the phone was ever wet.
Board level leakage needs a board technician with a power supply and thermal camera or rosin to find the warm part.