<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 04/01/2014 09:22 AM, Miguel Lemos
      wrote:<br>
    </div>
    <blockquote
cite="mid:CADPUygdE6HxmWxK8VDM7UpTRanu0-fPW6itKHktgdamv=BG9dA@mail.gmail.com"
      type="cite">
      <div dir="ltr">?! I can do it worse: uninstall the app because it
        drains the battery.</div>
    </blockquote>
    Push messages don't drain the battery that much.  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.  IN a
    (contrived) experiment I had a socket which sent a packet every 5
    minutes to the device.  Over the course of 5 hours the app didn't
    even register on things which had drained the battery.<br>
    <br>
    <blockquote
cite="mid:CADPUygdE6HxmWxK8VDM7UpTRanu0-fPW6itKHktgdamv=BG9dA@mail.gmail.com"
      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 moz-do-not-send="true"
              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 class="">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 class="HOEnZb">
              <div class="h5">&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
                  moz-do-not-send="true"
                  href="mailto:bruno@abstractj.org">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 moz-do-not-send="true"
                  href="mailto:supittma@redhat.com">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 moz-do-not-send="true"
                  href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
                &gt;&gt; <a moz-do-not-send="true"
                  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 moz-do-not-send="true"
                  href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
                &gt; <a moz-do-not-send="true"
                  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 class="im HOEnZb">--<br>
              Summers Pittman<br>
              &gt;&gt;Phone:404 941 4698<br>
              &gt;&gt;Java is my crack.<br>
              <br>
            </div>
            <div class="HOEnZb">
              <div class="h5">_______________________________________________<br>
                aerogear-dev mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
                <a moz-do-not-send="true"
                  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 class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
aerogear-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/aerogear-dev">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Summers Pittman
&gt;&gt;Phone:404 941 4698
&gt;&gt;Java is my crack.
</pre>
  </body>
</html>