System power manager on Muons

Hi,

I have this configuration on a Muon:

  SystemPowerConfiguration conf;

  System.setPowerConfiguration(SystemPowerConfiguration()); // To restore the default configuration before making changes

    conf.powerSourceMaxCurrent(900)
        .powerSourceMinVoltage(5080)
        .batteryChargeCurrent(1024)
        .batteryChargeVoltage(4208)
        .feature(SystemPowerFeature::PMIC_DETECTION);
    int res = System.setPowerConfiguration(conf);
    Log.info(" * * * * * power config API MODE setPowerConfiguration=%d", res);

I can see this applied since I observe:

0000003802 [app] INFO: * * * * * power config API MODE setPowerConfiguration=0

I am powering the Muon with 6v on DC Vin, exactly here:

Since I configured .powerSourceMinVoltage(5080) , I was expecting the charging to stop when I reduce the input voltage to 5v, or 4.5v, but I can see the yellow charge LED still on.
It only shuts off when the voltage goes lower than 4.2v.

Why would that be?
Thanks!

If you look at the block diagram for the bq24195, the VIND (power source minimum voltage) control only controls the VSYS output, not the charge controller. I don't think that setting can be used to not charge below a certain voltage.

Thanks.

Interesting, and if I wanted to do just that - stop charging when Vin is below a certain voltage?
Thanks again.

EDIT: from the docs

powerSourceMinVoltage
Set minimum voltage required for VIN to be used. This applies only when powered through VIN.

Note: I am powering the Muon ONLY through VIN.