Upcoming maintenance
Dear Customers and Partners.
This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.
This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.
We apologize for any inconvenience.
Spresense SDK Battery Fuel Gauge Support
-
Hello,
I noticed while going through the configuration menu for the spresense sdk that there is an option under 'Device Drivers', and then 'Power Management Support' for 'Battery Fuel Gauge Support'. This is shown in the image below.
I was wondering what this support means, as I cannot find any mention of this feature in the online documentation. How would interfacing with a fuel gauge IC benefit from this support?
Thanks for any help you can offer
-
@Crackin_Kraken said in Spresense SDK Battery Fuel Gauge Support:
Battery Fuel Gauge Support
You are looking at the NuttX driver options. NuttX can run on many other SoCs too. If you have one of these power management chips in your hardware design, you can use these drivers. The Spresense board Schematics do not have this chip. See https://developer.sony.com/develop/spresense/docs/hw_design_en.html.
What you can do is to try to measure the battery voltage and convert it. It is not easy and depends on the battery, but if you are fine with a rough indication, it should be ok. I was using these values.
int LowPowerClass::getVoltage ( void )
-
@jens6151-0-1-1
Ah I see, I didn't realise it was a NuttX option. I was trying to figure out whether this support was a significant reason to use one of the listed chips over another option, which I'm not sure it is.
Thank you for your advice! I'll keep that battery voltage/capacity article in mind as well, it's very useful!