Does anyone have current working solar code for the E-Series?

Here's a couple of examples of code that is currently not working on several E-Series devices (3.3.0, system thread enabled, manual mode)

void setPowerConfig () {
	    conf.powerSourceMaxCurrent(200)  // have tried 2000 to 50
        .powerSourceMinVoltage(5080) //have tried  5080 to 4208
        .batteryChargeCurrent(128)  // have tried 1024 to 200
        .batteryChargeVoltage(4208)  // 4208 or 4112
        .feature(SystemPowerFeature::PMIC_DETECTION) 
        .feature(SystemPowerFeature::USE_VIN_SETTINGS_WITH_USB_HOST);

 int res = System.setPowerConfiguration(conf); // returns SYSTEM_ERROR_NONE (0) in case of success

System.setPowerConfiguration(SystemPowerConfiguration());

        pmic.begin();

        //---reset charging variables---//
        pmic.setChargeVoltage(4208);
        pmic.setChargeCurrent(0,0,1,0,0,0); // 0,0,1,1,0,0 or 0,0,1,1,1,0 
        pmic.setInputVoltageLimit(5080); // have tried  5080 to 4208
       

Have changed basically every variable in that in countless ways. What am I missing? I'm desparate at this point, 50+ devices that are all being useless junk.

Let me go ahead and reference this topic, which also didn't result in any fixes from 2 months ago:

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