<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[New version of account-polld in overlay PPA]]></title><description><![CDATA[<p dir="auto">Hi all!<br />
Today I uploaded a new version of <code>account-polld</code> in the <a href="https://launchpad.net/~ubports-developers/+archive/ubuntu/overlay" target="_blank" rel="noopener noreferrer nofollow ugc">ubports overlay PPA</a>, which as far as I understand will be used to create the image for the "devel" channel.<br />
<code>account-polld</code> is a background process which is always running in your device, and which gets waken up every 5 minutes to check if you have new notifications from your online services. At the moment, it supports gmail, twitter, google-calendar, caldav and dekko (gmail accounts only). This new version doesn't change anything of that, but takes a few steps towards the plan to allow click packages to install their own account-polld plugins.</p>
<p dir="auto">In this version, <code>account-polld</code> has been completely rewritten: it has moved from being a monolithic binary written in go to a slimmer Qt/C++ service which runs the plugins as separate processes, on demand. For simplicity, the existing plugins have been reused and are still written in go, but they could be written in any language (they could even be shell scripts!).</p>
<p dir="auto">Even though this version doesn't offer noticeable changes for the end user, you might be happy to know that the memory footprint of <code>account-polld</code> has decreased, as reported by <code>top</code>. Before:</p>
<pre><code>  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 3391 phablet   20   0  919520  12764   8896 S   0,0  1,3   0:00.89 account-polld
</code></pre>
<p dir="auto">and after:</p>
<pre><code>  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 2979 phablet   20   0   60368   6328   5448 S   0,0  0,6   0:00.20 account-polld
</code></pre>
<p dir="auto">It's just a few megabytes (look at the <code>RES</code> column, and keep in mind these are kilobytes), but on embedded devices every byte counts. <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=bc7965752a7" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
<h1>Testing!</h1>
<p dir="auto">The new <code>account-polld</code> has been tested and approved while I was still working in Canonical, but things were moving slowly and we never managed to land it. So, it may be that it hides some dragons <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=bc7965752a7" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /><br />
I myself use only the gmail plugin, and I've verified that it's working. Notifications for dekko don't appear to be working, but OTOH I haven't seen them with the old <code>account-polld</code> either. If you are on the <code>devel</code> channel or have a writable filesystem (install <code>account-polld</code> and <code>account-polld-plugins-go</code> from the PPA) please give these new packages a try and report any regressions.</p>
<p dir="auto">Last but not least, the code for these projects is here:</p>
<ul>
<li><a href="https://github.com/mardy/account-polld" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/mardy/account-polld</a></li>
<li><a href="https://github.com/mardy/account-polld-plugins-go" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/mardy/account-polld-plugins-go</a></li>
</ul>
]]></description><link>https://forums.ubports.com/topic/277/new-version-of-account-polld-in-overlay-ppa</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 10:14:50 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/277.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 02 Jun 2017 20:12:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to New version of account-polld in overlay PPA on Sat, 03 Jun 2017 08:05:29 GMT]]></title><description><![CDATA[<p dir="auto">Wow thats amazing! You are one of the first people contributing to the PPA <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=bc7965752a7" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /> A warm welcome!</p>
<p dir="auto">BR Florian</p>
]]></description><link>https://forums.ubports.com/post/1728</link><guid isPermaLink="true">https://forums.ubports.com/post/1728</guid><dc:creator><![CDATA[flohack]]></dc:creator><pubDate>Sat, 03 Jun 2017 08:05:29 GMT</pubDate></item></channel></rss>