Battery Charger "reset" to defaults possible?

Tags: #<Tag:0x00007fe2225db0b8>


After playing with the PMIC on my Boron LTE, I discovered it would be useful to have a way to reset the battery charger such that the “sticky” settings (such as charger on/off) revert back to their factory defaults. Is there any way to do this?

If not, does anyone know which settings are “sticky” and which automatically reset to default values when the Boron is reset?



Short answer:
I think all the settings reset if the device reboots. sleeps, or loses power, including if you use the EN pin. BUT, don’t take my word for it because I’m def not 100% sure this is the case.

Slightly longer answer:
welcome to the black box that is PMIC… I think you’ll have to search the community for “PMIC” to piece together a real answer, I’ve been working through several PMIC-related battery charging issues and had to find answers piecemeal in the community because the documentation doesn’t exist.


That’s true.

Any custom PMIC settings need to be applied in the setup code so they take effect after every startup.


I recall that charging – if turned off in the code – will stay off, even if cold reset, until explicitly called “on” in code again. Interesting… and wondering if anything else in the charger retains settings.