Disable Charging - Boron

boron
Tags: #<Tag:0x00007fe21f88f528>

#1

Is it possible to permanently disable charging on the Boron? I understand there is an OS API call to disable charging but I would prefer to disable at the hardware or firmware level.
Thanks!


#2

Unfortunately the charging pin is tied low. But it looks like you can write to the bq24195L and disable it in firmware:

Look at the line for pin 9 (Charge Enable)


#3

Thanks Jared. Is what you are suggesting different than the pmic.disableCharging(); command? I am not familiar with writing to the bq24195L


#4

Yup, that should do it. I haven’t tested it myself yet.