Hello,
I am running my electrons without battery. I have set this in the code:
PMIC pmic;
pmic.disableCharging();
pmic.disableBATFET();
pmic.disableWatchdog();
byte DATA = pmic.readChargeTermRegister();
DATA &= 0b11000110;
Wire3.beginTransmission(PMIC_ADDRESS);
Wire3.write(CHARGE_TIMER_CONTROL_REGISTER);
Wire3.write(DATA);
Wire3.endTransmission(true);
The device is powered by the “VIN” pin.
Now, when I run diagnostics, I always get a “device unhealthy” because of 0% battery charge.
When I additionally connect the USB Port, I get 100% charge.
Is there a way to report the battery as 100% in diagnostics even when USB is not connected?
Thanks!
arne