FuelGauge not changing value

I tried to monitor my battery status of my electron with this sample code:

FuelGauge   battery;

void setup() {

void loop() {

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?

Have you tried not hammering the FuelGauge object that extensively?
Try to give it some slack and add some delays in your loop()

@ScruffR yes i added a 5 second delay. no difference.