Boron Solar Charging with 1.5.0 PMIC issue

@OziGreybeard, 1.5.0 allows you to completely disable the new DeviceOS System Power features.

Something similar to this might get you started:

SYSTEM_THREAD(ENABLED);

PMIC pmic;
SystemPowerConfiguration conf;

STARTUP( turnOffPowerFeature() );   
// see https://community.particle.io/t/boron-solar-charging-with-1-5-0-rc1/54680/10?u=rftop

void turnOffPowerFeature()  {
    conf.feature(SystemPowerFeature::DISABLE);
    System.setPowerConfiguration(conf);
    pmic.begin();
  // all of the PMIC calls that you want go here
    pmic.disableCharging();
}

void setup()  {
}

void loop()   {
}


1 Like