<?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>Not seeing +CGEV: ME BATTERY LOW when battery voltage drops after enabling with AT%XPOFWARN</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76742/not-seeing-cgev-me-battery-low-when-battery-voltage-drops-after-enabling-with-at-xpofwarn</link><description>I&amp;#39;m enabling external power off warnings, as specified in section 5.22 of the AT command guide. 
 When I drop the supply voltage I see a LTE network disconnected message from the lte_handler, but I don&amp;#39;t see the +CGEV: ME BATTERY LOW message. 
 I&amp;#39;m using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Jul 2021 15:41:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76742/not-seeing-cgev-me-battery-low-when-battery-voltage-drops-after-enabling-with-at-xpofwarn" /><item><title>RE: Not seeing +CGEV: ME BATTERY LOW when battery voltage drops after enabling with AT%XPOFWARN</title><link>https://devzone.nordicsemi.com/thread/319022?ContentTypeID=1</link><pubDate>Wed, 07 Jul 2021 15:41:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5ca049d-6100-4ffc-bf31-74525f32eea0</guid><dc:creator>JVantol</dc:creator><description>&lt;p&gt;Enabling &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/packet_domain/cgerep.html"&gt;+CGEREP&lt;/a&gt;. did the trick. Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not seeing +CGEV: ME BATTERY LOW when battery voltage drops after enabling with AT%XPOFWARN</title><link>https://devzone.nordicsemi.com/thread/318902?ContentTypeID=1</link><pubDate>Wed, 07 Jul 2021 07:43:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff59d0ac-890d-49b6-ab4b-7d3a669d01eb</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;No worries, Joshua! :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not seeing +CGEV: ME BATTERY LOW when battery voltage drops after enabling with AT%XPOFWARN</title><link>https://devzone.nordicsemi.com/thread/318857?ContentTypeID=1</link><pubDate>Tue, 06 Jul 2021 19:28:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e990b3f4-4f88-44d8-a188-f80883805360</guid><dc:creator>JVantol</dc:creator><description>&lt;p&gt;Actually, It was a goof on my part. I switched to a different board, which isn&amp;#39;t new enough to support XPOFWARN, so it doesn&amp;#39;t work. Sorry about that. I&amp;#39;ll get that other board back and I expect things will then work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not seeing +CGEV: ME BATTERY LOW when battery voltage drops after enabling with AT%XPOFWARN</title><link>https://devzone.nordicsemi.com/thread/318856?ContentTypeID=1</link><pubDate>Tue, 06 Jul 2021 18:39:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdd338b2-27d2-4b4d-a9fb-6332a0b894cf</guid><dc:creator>JVantol</dc:creator><description>&lt;p&gt;Markus, &lt;/p&gt;
&lt;p&gt;I&amp;#39;ll do that and report back the findings.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not seeing +CGEV: ME BATTERY LOW when battery voltage drops after enabling with AT%XPOFWARN</title><link>https://devzone.nordicsemi.com/thread/318612?ContentTypeID=1</link><pubDate>Mon, 05 Jul 2021 11:26:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7dc1a48-09bc-40dd-aa25-be9033243b39</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Thanks a lot for the feedback, Joshua!&lt;/p&gt;
&lt;p lang="en-GB"&gt;Due to limited support capacities because of the summer vacation period here in Norway, I would suggest that you revert to your previous version of the SDK and test this. If you can confirm that it works, we can close this ticket and you can create a new one for the SDK 1.6.0 issue.&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not seeing +CGEV: ME BATTERY LOW when battery voltage drops after enabling with AT%XPOFWARN</title><link>https://devzone.nordicsemi.com/thread/318491?ContentTypeID=1</link><pubDate>Fri, 02 Jul 2021 21:15:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5174a225-6270-4177-987c-ada163f99209</guid><dc:creator>JVantol</dc:creator><description>&lt;p&gt;Markus,&lt;/p&gt;
&lt;p&gt;I went to test this today, but in the meantime, I&amp;#39;d updated to SDK 1.6.0, and now something odd is happening.&lt;/p&gt;
&lt;p&gt;When I try to issue&lt;/p&gt;
&lt;p&gt;AT%XPOFWARN=1,32&lt;/p&gt;
&lt;p&gt;or any other valid variant of the %XPOFWARN command, I get a -8 error back from the AT command processor. Other AT commands seem to work perfectly. I&amp;#39;ll dig into this more next week (Monday is a holiday here, so it&amp;#39;ll be Tuesday) but I&amp;#39;m curious if you have any insight into why this might have changed?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Josh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not seeing +CGEV: ME BATTERY LOW when battery voltage drops after enabling with AT%XPOFWARN</title><link>https://devzone.nordicsemi.com/thread/318360?ContentTypeID=1</link><pubDate>Fri, 02 Jul 2021 08:36:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a53333a3-242b-482d-a03d-7a4c965a8d87</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Hello again Joshua,&lt;/p&gt;
&lt;p lang="en-GB"&gt;I now have talked to our modem team and got the following feedback:&lt;/p&gt;
&lt;p lang="en-GB"&gt;For receiving the &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/packet_domain/cgev.html"&gt;+CGEV&lt;/a&gt; notifications, the application must subscribe to those notifications using &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/packet_domain/cgerep.html"&gt;+CGEREP&lt;/a&gt;.&lt;/p&gt;
&lt;p lang="en-GB"&gt;Could you try that and see if that makes any difference?&lt;/p&gt;
&lt;p lang="en-GB"&gt;Alternatively, &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/mob_termination_ctrl_status/mdmev.html"&gt;%MDMEV&lt;/a&gt; notification can also be used for getting battery low notifications.&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not seeing +CGEV: ME BATTERY LOW when battery voltage drops after enabling with AT%XPOFWARN</title><link>https://devzone.nordicsemi.com/thread/317826?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 05:29:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a830ea5c-6c58-42e9-ab6c-37c772b65bc5</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p&gt;Thanks, Joshua! I will check this with our modem team and come back to you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not seeing +CGEV: ME BATTERY LOW when battery voltage drops after enabling with AT%XPOFWARN</title><link>https://devzone.nordicsemi.com/thread/317765?ContentTypeID=1</link><pubDate>Tue, 29 Jun 2021 14:37:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fefe68d-abfc-4ca0-9b94-ec70ae1fc0eb</guid><dc:creator>JVantol</dc:creator><description>&lt;p&gt;There is no difference in behavior with 1.3.0.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not seeing +CGEV: ME BATTERY LOW when battery voltage drops after enabling with AT%XPOFWARN</title><link>https://devzone.nordicsemi.com/thread/317758?ContentTypeID=1</link><pubDate>Tue, 29 Jun 2021 14:16:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8630facf-1044-4c60-8929-da212ad933a9</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;I of course get your point, Joshua :-) But officially, we can not give support to non-official released firmware.&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not seeing +CGEV: ME BATTERY LOW when battery voltage drops after enabling with AT%XPOFWARN</title><link>https://devzone.nordicsemi.com/thread/317753?ContentTypeID=1</link><pubDate>Tue, 29 Jun 2021 14:08:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70f71b2f-f1fe-429f-98ca-7cc5616b0303</guid><dc:creator>JVantol</dc:creator><description>&lt;p&gt;Markus,&lt;/p&gt;
&lt;p&gt;Our FAE supplied that. I&amp;#39;d not see the final 1.3.0 was out, so I&amp;#39;ll pull that and re-try. Since this feature has been out a long time, and was supposed to be in 1.2.1, I really don&amp;#39;t have high hopes that it&amp;#39;ll be working in 1.3.0, but I&amp;#39;ll let you know what happens.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not seeing +CGEV: ME BATTERY LOW when battery voltage drops after enabling with AT%XPOFWARN</title><link>https://devzone.nordicsemi.com/thread/317750?ContentTypeID=1</link><pubDate>Tue, 29 Jun 2021 14:00:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54c22cb1-04a5-4bf8-af18-e5ff8feadf6c</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Thanks, Joshua!&lt;/p&gt;
&lt;p lang="en-GB"&gt;Where did you get the pre-alpha modem firmware from? I’m not really aware of that we are providing not official released modem firmware.&lt;/p&gt;
&lt;p lang="en-GB"&gt;Anyway, my recommendation would be to upgrade to the official mfw 1.3.0 &lt;a href="https://www.nordicsemi.com/-/media/Software-and-other-downloads/Dev-Kits/nRF9160-DK/nRF9160-modem-FW/mfw_nrf9160_1.3.0.zip"&gt;release&lt;/a&gt; and check if that makes any difference.&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not seeing +CGEV: ME BATTERY LOW when battery voltage drops after enabling with AT%XPOFWARN</title><link>https://devzone.nordicsemi.com/thread/317733?ContentTypeID=1</link><pubDate>Tue, 29 Jun 2021 13:16:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75934982-e21a-4c74-bf58-43c6764647b0</guid><dc:creator>JVantol</dc:creator><description>&lt;p&gt;Markus,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using 1.3.0-44.prealpha.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve used 1.2.1 as well, but my most careful testing was on the 1.3.0-44.&lt;/p&gt;
&lt;p&gt;Let me know if there&amp;#39;s something else you&amp;#39;d like me to look at.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not seeing +CGEV: ME BATTERY LOW when battery voltage drops after enabling with AT%XPOFWARN</title><link>https://devzone.nordicsemi.com/thread/317592?ContentTypeID=1</link><pubDate>Tue, 29 Jun 2021 05:34:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:862723cd-005d-4a11-98f7-712af9955109</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;That is interesting… and not really as expected I would say! I think the code snippet you are using should work fine. And the fact that you are getting other AT notifications confirms that as well.&lt;/p&gt;
&lt;p lang="en-GB"&gt;What modem firmware are you using? I might wanna report this to our modem team and check with them. You can use the &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/general/cgmr.html"&gt;+CGMR&lt;/a&gt; command in case you are unsure.&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not seeing +CGEV: ME BATTERY LOW when battery voltage drops after enabling with AT%XPOFWARN</title><link>https://devzone.nordicsemi.com/thread/317537?ContentTypeID=1</link><pubDate>Mon, 28 Jun 2021 15:27:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:922c23ba-14c0-4c96-a597-651bb50ef885</guid><dc:creator>JVantol</dc:creator><description>&lt;p&gt;I tried this, and even tried sneaking up on the voltage threshold 2 mv at a time, and never saw the low voltage warning. Is it possible something in the SDK is disabling this, or &amp;quot;eating&amp;quot; the response before my handler can get it? Is there a recommended project to use to test this feature in isolation?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not seeing +CGEV: ME BATTERY LOW when battery voltage drops after enabling with AT%XPOFWARN</title><link>https://devzone.nordicsemi.com/thread/317375?ContentTypeID=1</link><pubDate>Mon, 28 Jun 2021 06:15:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90465ea0-0812-451b-9bff-9f6b32115516</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;Thanks for the feedback, Joshua! I would recommend you to set the power off warning to its highest level:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre lang="en-GB"&gt;&lt;pre class="ui-code" data-mode="text"&gt;AT%XPOFWARN=1,33&lt;/pre&gt;&lt;/pre&gt;
&lt;p lang="en-GB"&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;and drop the supply voltage to a constant level of 3.2V, as this should make sure that the modem is able to run through the whole shut-down process.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;As you can see in this &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf9160%2F_tmp%2Falta.nRF9160%2Fautodita%2FCURRENT%2Fparameters.id_current_modem.html&amp;amp;cp=2_0_0_4_1_0_14"&gt;table&lt;/a&gt;, which was measured at a supply voltage of 3.7V, the current consumption can vary a lot depending on the modem state.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;Markus&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not seeing +CGEV: ME BATTERY LOW when battery voltage drops after enabling with AT%XPOFWARN</title><link>https://devzone.nordicsemi.com/thread/317310?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 16:17:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e10e861-f64f-4fb6-baef-c3dfcc777ce0</guid><dc:creator>JVantol</dc:creator><description>&lt;p&gt;Markus,&lt;/p&gt;
&lt;p&gt;using XVBATLVL does get me &amp;quot;%XVBATLOWLVL: 3382&amp;quot; warnings, as the voltage drops. But I never see the warning that the modem is going offline because of low voltage.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s possible I&amp;#39;m reducing the voltage too fast, and the modem goes straight to shutdown, without first issuing a warning, but I would have thought you should get the warning anyway so that you can tell WHY the modem went down.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m going to test this further, but if you have any thoughts on what might be going on I would appreciate them.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Josh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not seeing +CGEV: ME BATTERY LOW when battery voltage drops after enabling with AT%XPOFWARN</title><link>https://devzone.nordicsemi.com/thread/317216?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 11:37:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfc39e63-b3b7-48e9-911c-acf418303a4e</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Hello Joshua,&lt;/p&gt;
[quote user=""] but not the &amp;quot;+CGEV: ME BATTERY LOW&amp;quot; response that I was expecting when I lowered the battery voltage. [/quote]
&lt;p&gt;how fast did you lower the battery voltage? Could it be possible that the voltage drops too fast and thus the modem doesn’t manage to send low battery level notification before it has to shut down?&lt;/p&gt;
[quote user=""]The handler installs successfully, the AT%XPOFWARN=1,31 command gets an &amp;quot;OK&amp;quot; response, and I see lots of other modem responses being printed by my XPOFWARN_Handler, [/quote]
&lt;p&gt;&lt;span&gt;&lt;span lang="en-GB"&gt;Could you try the &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/mob_termination_ctrl_status/xvbatlvl.html"&gt;%XVBATLVL&lt;/a&gt;&lt;/span&gt;&amp;nbsp;instead? Does that make any difference?&lt;/span&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>