<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Whatever. If you think power consumption is not a matter of concern on choosing a push notifications technology (as well as other mobile services) what can I do?&nbsp;</div><div><br></div><div><br>Enviado do meu iPhone</div><div><br>No dia 01/04/2014, às 15:34, Bruno Oliveira &lt;<a href="mailto:bruno@abstractj.org">bruno@abstractj.org</a>&gt; escreveu:<br><br></div><blockquote type="cite"><div><div dir="ltr">"Several" is very accurate :) I would say so that 99% of the companies disagree on that</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 1, 2014 at 11:28 AM, Miguel Lemos <span dir="ltr">&lt;<a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">+"disable push notifications" &nbsp;+"battery life" +"android" &gt; Google, for instance (I presume you use this).<br>

<br><div>There are also several companies clamming that their push notifications services (including geo-fencing) drain less battery, etc., etc.</div>
</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 1, 2014 at 3:11 PM, Bruno Oliveira <span dir="ltr">&lt;<a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Miguel, do you have any references? If there are hundreds posts about it, I would love to read.</div><div class="gmail_extra">


<div><div><br><br><div class="gmail_quote">On Tue, Apr 1, 2014 at 11:01 AM, Miguel Lemos <span dir="ltr">&lt;<a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">That's not the experience we have... There are hundreds (thousands?) of posts about this matter. There are several strategies to keep the processor alive to do its work and Android (using GCM) minimizes the overload, it's more or less a consensual idea. You'll find in the Internet several articles about this too.<br>





<br></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 1, 2014 at 2:41 PM, Summers Pittman <span dir="ltr">&lt;<a href="mailto:supittma@redhat.com" target="_blank">supittma@redhat.com</a>&gt;</span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div>
    <div>On 04/01/2014 09:22 AM, Miguel Lemos
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">?! I can do it worse: uninstall the app because it
        drains the battery.</div>
    </blockquote></div>
    Push messages don't drain the battery that much.&nbsp; They all come in
    over the GCM socket which is refresh every 15 minutes or so.<br>
    <br>
    Keeping an open socket doesn't drain the battery that badly.&nbsp; IN a
    (contrived) experiment I had a socket which sent a packet every 5
    minutes to the device.&nbsp; Over the course of 5 hours the app didn't
    even register on things which had drained the battery.<div><div><br>
    <br>
    <blockquote type="cite">
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Tue, Apr 1, 2014 at 2:14 PM, Summers
          Pittman <span dir="ltr">&lt;<a href="mailto:supittma@redhat.com" target="_blank">supittma@redhat.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div>On 03/31/2014 02:03 PM, Miiguel Lemos wrote:<br>
              &gt; Using the GCM for push notifications has a very
              important advantage: it minimizes the battery consumption,
              since it reduces the processor overload, it's not needed
              to open a socket to check the server on a regular basis,
              etc. In my opinion this a critical matter, minimizing the
              probability of the user turning the notifications off.<br>
            </div>
            On Android you can't turn notifications off in the same way
            as iOS.<br>
            <div>
              <div>&gt;<br>
                &gt;<br>
                &gt; Enviado do meu iPad<br>
                &gt;<br>
                &gt; No dia 31/03/2014, às 18:51, Bruno Oliveira &lt;<a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>&gt;
                escreveu:<br>
                &gt;<br>
                &gt;&gt; I would vote for A<br>
                &gt;&gt;<br>
                &gt;&gt; --<br>
                &gt;&gt; abstractj<br>
                &gt;&gt;<br>
                &gt;&gt; On March 31, 2014 at 10:59:01 AM, Summers
                Pittman (<a href="mailto:supittma@redhat.com" target="_blank">supittma@redhat.com</a>)
                wrote:<br>
                &gt;&gt;&gt;&gt; Y'all,<br>
                &gt;&gt;&gt; So there has been some concerns with the
                complexity of the build<br>
                &gt;&gt;&gt; especially where including the Google GCM
                (push) libraries<br>
                &gt;&gt;&gt; are<br>
                &gt;&gt;&gt; concerned. Additionally there have been
                some requests for a<br>
                &gt;&gt;&gt; separate<br>
                &gt;&gt;&gt; "push" module which won't need the full
                aerogear android library.<br>
                &gt;&gt;&gt;<br>
                &gt;&gt;&gt; The full modularization of the library
                along with several other<br>
                &gt;&gt;&gt; improvements is scheduled for the "2.0"
                epic.<br>
                &gt;&gt;&gt;<br>
                &gt;&gt;&gt; So my question is a) Should we make a 2.0
                which is only the<br>
                &gt;&gt;&gt; modularization sooner and iterate on that a
                few times before<br>
                &gt;&gt;&gt; we include<br>
                &gt;&gt;&gt; our improvements in a 3.0 or b) Should we
                create a "fork" project<br>
                &gt;&gt;&gt; which<br>
                &gt;&gt;&gt; is only a push module? This new project
                will get merged back into<br>
                &gt;&gt;&gt; the<br>
                &gt;&gt;&gt; main project when we have our complete
                modularizations.<br>
                &gt;&gt; _______________________________________________<br>
                &gt;&gt; aerogear-dev mailing list<br>
                &gt;&gt; <a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
                &gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
                &gt; _______________________________________________<br>
                &gt; aerogear-dev mailing list<br>
                &gt; <a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
                &gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
                <br>
                <br>
              </div>
            </div>
            <div>--<br>
              Summers Pittman<br>
              &gt;&gt;Phone:<a href="tel:404%20941%204698" value="+14049414698" target="_blank">404 941 4698</a><br>
              &gt;&gt;Java is my crack.<br>
              <br>
            </div>
            <div>
              <div>_______________________________________________<br>
                aerogear-dev mailing list<br>
                <a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
                <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
aerogear-dev mailing list
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></pre>
    </blockquote>
    <br>
    <br>
    <pre cols="72">-- 
Summers Pittman
&gt;&gt;Phone:<a href="tel:404%20941%204698" value="+14049414698" target="_blank">404 941 4698</a>
&gt;&gt;Java is my crack.
</pre>
  </div></div></div>

<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><br></div></div>


</div><span><font color="#888888">--&nbsp;<br>

"The measure of a man is what he does with power" - Plato<br>-<br>@abstractj<br>-<br>Volenti Nihil Difficile
</font></span></div>
<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><br></div>--&nbsp;<br>

"The measure of a man is what he does with power" - Plato<br>-<br>@abstractj<br>-<br>Volenti Nihil Difficile
</div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>aerogear-dev mailing list</span><br><span><a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></span></div></blockquote></body></html>