I tried to monitor my battery status of my electron with this sample code:
FuelGauge battery;
void setup() {
battery.quickStart();
Serial.begin(9600);
}
void loop() {
Serial.println(battery.getSoC());
}
At the beginning it changes sometimes but after a while the value never changes. When i press the reset button the value jumps to something different and it starts again. Anybody an idea?