Hi Karl/Rob
I agree for the reasons you mentioned that trying to predict battery percent left using the battery capacity and millamps will not be useful, instead I am now using a table of voltage values to determine percentage which seems to work much better.
I do have a question, how does the mojo board know who to calculate milliampHours ? I thought you had to measure the time period to get such a value ?
e.g. multiply the current in milliamps (mA) by the time in hours (h) the device operates
Does the mojo board have a clock or is getting the time from someplace ?
Rob - My bad on the original post of milliamps vs milliamp hours. I was using this arduino library I found on your web site Recently released a Library for direct interface with blues Mojo. I have since dropped that code and only using the mojo notecard command JObject *req = notecard.newRequest(“card.power”) to get consumed_mAh = JGetNumber(rsp, “milliamp_hours”);
So should I be resetting the mojo card at certain intervals JAddBoolToObject(req, “reset”, true); e.g. if I reset it hourly that should give me a true mAh value ?
btw Karl I saw that device Nordic PPK2 power profiler a few weeks ago and was thinking of getting it for another project but it would come in handy here also ![]()
thank you