AquaMail Forum

English - Android => Development builds => Topic started by: Kostya Vasilyev on December 09, 2013, 11:44:45 pm

Title: 1.3.0-pre5
Post by: Kostya Vasilyev on December 09, 2013, 11:44:45 pm
Version 1.3.0-pre5

http://www.aqua-mail.com/download/AquaMail-market-1.3.0-pre5.apk

+ Support for iCal event cancellations (including specific occurrence vs. entire series).

+ Made "purge local deleted folders" available in Smart Folder.

+ IMAP CONDSTORE extension support, faster mail sync and lower battery use when there are no changes (Gmail, Fastmail, others with this extension).

* Sent messages are now shown using same layout as incoming ones. This means they can be printed, shared, copied, etc. Also resolves text selection issues on some devices (Samsung, I'm looking at you).

+ IMAP: mark "all" read and delete "all" now really mean "all".

The issues with "load more" and "show images" panels brought on by Android 4.4 have not been fixed yet, I'm going to look at that next. It's actually quite complicated (unless I wanted to use the quick and dirty fix employed by K9 and stock Email, but I don't, since it causes a number of other, quite serious, visual glitches).
Title: Re: 1.3.0-pre5
Post by: Thomas on December 10, 2013, 02:44:58 am
Can you please explain a little bit more " IMAP CONDSTORE extension support,"
How to use it with my Gmail account? Is it an extension which has to be installed?
Title: Re: 1.3.0-pre5
Post by: Kostya Vasilyev on December 10, 2013, 02:54:06 am
It's an extension to the IMAP protocol: meaning servers are not required to support it, and those that do, advertise it to the app via a special mechanism.

What it's used for:

A way for AquaMail to know, on a per-folder basis, that there have not been any server side changes since "last" time.

If that's the case, the app can skip a bunch of commands that it normally uses to sync server side changes.

This means faster mail checking, lower battery and traffic use (since typically, not every folder will have server side changes in it every time).

No configuration in AquaMail is necessary.
Title: Re: 1.3.0-pre5
Post by: Thomas on December 10, 2013, 03:44:55 am
This sounds good, as for the last AquaMail builds i have a very high wakelock.
Have a look at the Screenshot.
Only one folder in one account is set to IMAP Push. All other sync after one hour. In five ours AquaMail was awake 48 minutes :(
Title: Re: 1.3.0-pre5
Post by: Thomas on December 10, 2013, 07:51:56 am
Well the Wakelocks went down from 10 minutes per hour to 1 minute per hour with the new build. May it be because of the new IMAP feature?

(http://img.tapatalk.com/d/13/12/10/ahe2a9un.jpg)

Enviado desde mi XT1058 mediante Tapatalk
Title: Re: 1.3.0-pre5
Post by: Kostya Vasilyev on December 10, 2013, 12:49:37 pm
Well, it's very tempting for me to "think positive" and say "yes, that's it", but...

...10X is a bigger improvement than I'd expect, esp. with push enabled in a gmail account.

What is your "messages per page" setting (the number of recent messages that the app keeps up to date)? The default 25 or larger?

When high battery was happening, was that on WiFi or mobile?

Would you be willing to try the previous build just to see?

http://www.aqua-mail.com/download/AquaMail-market-1.3.0-pre4.3.apk

PS - on one of my devices, the battery consumption leader is quite unusual:

Title: Re: 1.3.0-pre5
Post by: Thomas on December 10, 2013, 08:38:48 pm
Well the battery usage of AquaMail in my case is less than 3%. That is more than good during the day as I get a lot of emails which explaines the awake time of 10 minutes. At night, second of my images above, it goes down to a minute per hour as they are nearly cero emails to retrieve.

Enviado desde mi XT1058 mediante Tapatalk

Title: Re: 1.3.0-pre5
Post by: Kostya Vasilyev on December 11, 2013, 02:37:13 am
Thanks, that's great to hear!
Title: Re: 1.3.0-pre5
Post by: someone on December 11, 2013, 05:23:21 am
A newbie question.
Does AM use wakelock at all if all the accounts are pop3?

Does AM use wakelock at all if all the accounts are set to not automatically check mail every  X  period?
Title: Re: 1.3.0-pre5
Post by: Kostya Vasilyev on December 11, 2013, 03:50:50 pm
Yes and yes.

It uses addition and multiplication too.
Title: Re: 1.3.0-pre5
Post by: someone on December 11, 2013, 06:05:27 pm
Yes and yes.

It uses addition and multiplication too.
I asked because (though low) it is the highest user of wakelock on my tablet. A similar app like kj9 also installed on my tablet does not even register. So I was wondering why AM needed to. I don't have battery issues. Just trying to understand.
Title: Re: 1.3.0-pre5
Post by: Kostya Vasilyev on December 12, 2013, 11:13:46 pm
Wakelock use in itself is just an implementation detail, like addition or multiplication.

Now, if you find the app consuming the battery too much, then I'd be happy to discuss that.

( system settings -> battery -> AquaMail at X percent )
Title: Re: 1.3.0-pre5
Post by: someone on December 13, 2013, 12:14:53 am
No problem with the battery.