<?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>HID keyboard drains iPhone battery quickly</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3961/hid-keyboard-drains-iphone-battery-quickly</link><description>I am connecting my development device acting as a BLE keyboard using HID over GATT and it seems to be draining the phone battery very quickly. Every 7 seconds I would get a pair of HID Suspend/Exit Suspend commands from the phone even when the phone screen</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Oct 2014 17:29:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3961/hid-keyboard-drains-iphone-battery-quickly" /><item><title>RE: HID keyboard drains iPhone battery quickly</title><link>https://devzone.nordicsemi.com/thread/14257?ContentTypeID=1</link><pubDate>Thu, 30 Oct 2014 17:29:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:871906d5-b5d8-4d0b-89d5-766ecbfdf80a</guid><dc:creator>Jeff</dc:creator><description>&lt;p&gt;Thanks.  I submitted a bug report to Apple a while ago and they replied asking for logs so they may be working on a fix on the phone side already.  I will see if they fixed it in the next iOS release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID keyboard drains iPhone battery quickly</title><link>https://devzone.nordicsemi.com/thread/14256?ContentTypeID=1</link><pubDate>Thu, 30 Oct 2014 09:24:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22219a17-4c8b-4a33-a41b-2f1c85177e26</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;&lt;a href="https://www.nordicsemi.com/eng/nordic/download_resource/26386/13/92292385"&gt;Nordic has got a free sniffer to check the timing and content sent across the BLE link itself.&lt;/a&gt; It really helps us to know what timing parameters that&amp;#39;s actually used, what kind of packages that&amp;#39; being sent and so on. If you have confidential content that you are concerned about for doing a sniffer trace and sending it to us I would ask you to open a case in the &lt;a href="https://www.nordicsemi.com/eng/Support"&gt;closed Nordic support system.&lt;/a&gt; There your information will be kept confidential.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID keyboard drains iPhone battery quickly</title><link>https://devzone.nordicsemi.com/thread/14255?ContentTypeID=1</link><pubDate>Mon, 27 Oct 2014 18:58:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9844726-18fc-4a2a-8043-c4d62c3b78b7</guid><dc:creator>Jeff</dc:creator><description>&lt;p&gt;I attached the capture of the HID activity in the original post.  I cannot post the .cfa file because it contains confidential data that I cannot remove.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID keyboard drains iPhone battery quickly</title><link>https://devzone.nordicsemi.com/thread/14254?ContentTypeID=1</link><pubDate>Mon, 27 Oct 2014 10:54:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20d440ea-92df-42ca-8633-0e59abcd4c27</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;Jeff,
A sniffer trace would really help here. The suspend is understandable but I do not see why the iOS is sending the Exit Suspend.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID keyboard drains iPhone battery quickly</title><link>https://devzone.nordicsemi.com/thread/14253?ContentTypeID=1</link><pubDate>Fri, 24 Oct 2014 17:24:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f205a890-2327-4282-b72e-dfe64f801be2</guid><dc:creator>Jeff</dc:creator><description>&lt;p&gt;The local device is a nRF51 using HID over GATT.  I did not measure the nRF51 power, only the battery % on the phone side.  With no keyboard activity and the phone screen always off, the phone battery drops from 100 to 85% in 14 hours.  If I do not have the HID service enabled but only ANCS, the battery drops 5%.  The only BLE traffic I see from HID is the constant Suspend/Exit Suspend from the phone.  I cannot find any way to stop the phone from doing this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID keyboard drains iPhone battery quickly</title><link>https://devzone.nordicsemi.com/thread/14252?ContentTypeID=1</link><pubDate>Fri, 24 Oct 2014 11:50:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:544e3e58-95d3-4daf-951d-9f1e40650dfe</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure if I understand your setup here. The local device you refer to is a nRF51-chip with some keyboard code? Do you see difference in power consumption on the nRF51-device or on the phone side?&lt;/p&gt;
&lt;p&gt;By how much and how do you measure it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID keyboard drains iPhone battery quickly</title><link>https://devzone.nordicsemi.com/thread/14251?ContentTypeID=1</link><pubDate>Thu, 09 Oct 2014 17:32:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:511801f0-880f-49c0-ab1d-9dffd11e74e3</guid><dc:creator>Jeff</dc:creator><description>&lt;p&gt;Thank you for the reply.  I checked the power consumption of the local device and it is not draining noticeably more power in the keyboard case.  The power drain is on the phone side presumably from waking up to send the Suspend/Exit Suspend commands continuously.  I was hoping someone can confirm this problem with their phone or with a BLE keyboard with a different chip so I can be sure it is an iOS problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID keyboard drains iPhone battery quickly</title><link>https://devzone.nordicsemi.com/thread/14250?ContentTypeID=1</link><pubDate>Thu, 09 Oct 2014 13:08:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f51f6de8-3d92-4455-9cc7-65689544ab33</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;May I ask you to do a sniffer trace of the two different setups. The different power consumptions must be related to the actual connection parameters and radio activity. A sniffer trace would give a good indication on how much of a difference and potentially what the difference is between handling the two setups. &lt;a href="https://www.nordicsemi.com/eng/nordic/download_resource/26386/11/47340316"&gt;Have a look at the sniffer available here.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>