How To Determine Boron Charging

How best to determine if a Boron is currently charging from an attached power supply.

Right now I’m using the FuelGauge to get the SOC and I would like to be able to determine when to attach a power supply to start charging.

Currently I have a 400 mA lithium battery attached to the Boron.

I would then attach an external 5volt power supply and charge to a certain voltage.

I know there is both a Fuel Gauge and the PMIC. Which would be the best to use.

Thanks for your help

Definitely use the PMIC. However, even easier than using the PMIC is using System.batteryState(). It returns whether it’s charging, fully charged, etc…

1 Like

Thanks Rick

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.