Sony's Developer World forum

    • Home
    • Forum guidelines

    Spresense SDK Battery Fuel Gauge Support

    Spresense
    2
    3
    80
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Crackiin_Kraken 0 last edited by

      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.

      spresense_fuel_gauge.png

      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

      J 1 Reply Last reply Reply Quote
      • J
        jens6151 0 1 1 @Crackiin_Kraken 0 last edited by jens6151 0 1 1

        @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 		)	
        
        C 1 Reply Last reply Reply Quote
        • C
          Crackiin_Kraken 0 @jens6151 0 1 1 last edited by

          @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!

          1 Reply Last reply Reply Quote
          • First post
            Last post
          Developer World
          Copyright © 2021 Sony Group Corporation. All rights reserved.
          • Contact us
          • Legal