Electron Charging?

Thanx @ScruffR, I found these pages:

https://docs.particle.io/reference/firmware/electron/#charge-voltage-control-reg

From these pages I've distilled the following code:

PMIC pmic;

and then in setup():

pmic.setChargeVoltage(4208);

or for safe mode:

pmic.setChargeVoltage(4112);

This works like a charm!