1.3.1-rc.1+ change to Boron solar charging (via VUSB) behavior

Thanks for the quick response fellas! I’m getting a solid charge light, and a climbing charge % !

To make the root cause more difficult to determine :slight_smile: I shotgunned all suggestions into one code update:

detachInterrupt(LOW_BAT_UC);
delay(2000);
PMIC pmic;
pmic.setInputVoltageLimit(5080);
pmic.setInputCurrentLimit(2000) ; 
pmic.setChargeVoltage(4208); 
pmic.setChargeCurrent(0,0,1,1,1,0); 
pmic.enableDPDM(); 
pmic.enableBuck();

And like I said, the battery is charging, but the result in the status message is interesting:

"power":{
  "battery":{
    "charge":93.92
    "state":"discharging"}
"source":"unknown"}

I’ll let somebody else worry about why the state and source is wonky.

Now to figure out which of the 5 things I changed actually made the difference…

Thanks again!

1 Like