Some time ago I designed a battery charger for my tools and had the same situation, although I never had a problem with a blown pic when the battery was connected to the pic inputs. To be safe, I would suggest putting a P-ch Mosfet with a low resistance such as a BS 250 in series with the input divider and have the pic turn them on when ready.
Regards,
misterg
Bookmarks