It is possible that the charging circuit on the 3DS motherboard itself has died. If that is the case, the only solution is to replace the motherboard or buy an entire new unit and migrate your data.
There is also the chance that the motherboard's battery tabs are just broken, which you'd have...