SystemPowerConfiguration conf;
conf.powerSourceMaxCurrent(100)
.powerSourceMinVoltage(4208)
.batteryChargeCurrent(100)
.batteryChargeVoltage(4110)
.feature(SystemPowerFeature::PMIC_DETECTION)
.feature(SystemPowerFeature::USE_VIN_SETTINGS_WITH_USB_HOST);
int res = System.setPowerConfiguration(conf);
So I’m trying to force the device to only accept a low charge (high temperature situation) and while the device is powered this works. Input current is regulated down to about 90mA 7.5v input, which I presume comes out somewhere close to 100mA at the battery.
Once the device goes to sleep this holds, but if power is removed and reapplied suddenly I’m pulling 300mA. Am I doing it wrong?