<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Calculate battery using adc</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79613/calculate-battery-using-adc</link><description>As known in SDK nrf there is a function battery_level_in_percent() used to calculate battery percentage but it is only true for the CR2032 battery. Currently, I am using AAA battery so is there any way I can calculate the percentage of the remaining battery</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Sep 2021 08:36:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79613/calculate-battery-using-adc" /><item><title>RE: Calculate battery using adc</title><link>https://devzone.nordicsemi.com/thread/329345?ContentTypeID=1</link><pubDate>Tue, 14 Sep 2021 08:36:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cadea435-f971-4823-98d5-d2e1e7b6753f</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;To calculate remaining charge from the measured voltage of your battery you will need to check the discharge curve of the specific battery you are using.&lt;br /&gt;Please check the datasheet of the specific battery, and create a similar function that maps the voltage to a remaining charge level.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>