<?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>Proximity App battery service not changing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46450/proximity-app-battery-service-not-changing</link><description>I am using the nrf51422 development kit with sdk11. I am running the proximity application for the battery life service. I am inputting voltages ranging from 3000 millivolts to 2100 millivolts using an external power source (not using the USB). Regardless</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Apr 2019 13:44:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46450/proximity-app-battery-service-not-changing" /><item><title>RE: Proximity App battery service not changing</title><link>https://devzone.nordicsemi.com/thread/183517?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2019 13:44:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50a04f7e-05d7-4107-b0db-923c1e56fb49</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, the ADC has a dedicated input connected to VDD. However, this is in fact not a very good way of measuring the battery voltage, as the voltage will typically drop when the ADC is enabled, drawing a lot of current. The voltage drop depends on the current charge of the battery, the internal resistance of the battery and the current consumption of the board at the time of sampling.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proximity App battery service not changing</title><link>https://devzone.nordicsemi.com/thread/183179?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2019 14:40:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7277d52f-398d-4965-9d94-7cc32bcc6ddd</guid><dc:creator>rahul1</dc:creator><description>&lt;p&gt;I am powering the board using an external battery connected to the vdd pin. I am a bit confused of how the conversion works. Can the board be both powered by the battery and calculate it&amp;rsquo;s percentage value if it is connected to the vdd pin?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proximity App battery service not changing</title><link>https://devzone.nordicsemi.com/thread/183176?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2019 14:34:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60bd39f1-aacd-4904-917e-cb9dab80d857</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You should get a sensible number provided that you wait 180 seconds. In that case the battery level is calculated by battery_level_in_percent(), and should be just a few percent. How do you power the board? I assume you have verified the supply voltage? What ADC reading do you get if you put a breakpoint in the&amp;nbsp;adc_event_handler and inspect the&amp;nbsp;batt_lvl_in_milli_volts value?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>