Fuel.sleep and fuel.begin .... why can't I read the current SoC and voltage?


#1

I’ve noticed that the fuel gauge seems to be a significant power drain. So I have been using fuel.sleep to keep it turned off most of the time my app is running.

When I use fuel.begin to start it up and take a reading it will not provide current values for getVCell and getSoC. I tried inserting a small delay after fuel.begin but that didn’t seem to help.

Any ideas?


#2

You may want to call fuel.quickStart() or fuel.wakeup() (somewhat related to fuel.sleep() :wink:) to actually make it do its job.
IIRC fuel.begin() only opens the communication channel with the fuel gauge.


#3

ooops…fuel.wakeup did it! Thanks @ScruffR