Author Topic: Wake Lock  (Read 15647 times)

jocaferlo

  • Newbie
  • *
  • Posts: 15
Re: Wake Lock
« Reply #15 on: April 14, 2014, 04:06:59 am »
I had set global "messages per page" setting to 50. I changed now to 15, really I think is enough for me.
Per account setting was at 15.

Anyway these two last days the consuption wasn't so high. AM doesn't appear in system settings /battery. And the wakelocks in BetterBateryStats aren't so numerous.
I think I didn't change anything in AM settings. Only these days (at weekend) I didn't disable PUSH with Tasker plugin (I only do that in the office).
I'll see what happens tomorrow, in the office again.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: Wake Lock
« Reply #16 on: April 17, 2014, 11:12:43 pm »
Well, syncing 50 messages can be a bit slowed than the default 25 (or 15), esp. on high latency mobile networks (e.g. EDGE or even HSDPA... LTE has much lower latency, though).
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

jocaferlo

  • Newbie
  • *
  • Posts: 15
Re: Wake Lock
« Reply #17 on: April 25, 2014, 10:56:57 pm »
The behavior of AM for me is very strange: some days I haven't wakelocks and other I have a lot of them.
Usually when I have PUSH activated all the time (at weekends) its bahavior is ok. But when I turn off PUSH (when I stay at office) I have a lot of wakelocks and AM consume a lot of battery. I turn off PUSH with Tasker plugin.
The attached images show the consumption of one of this days.
For these accounts I use with push I have sync off. Then when I turn off push, in theory, I couldn't receive emails, but sometimes I receive them anyway.

I'll made a debug log.

Regards.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: Wake Lock
« Reply #18 on: April 27, 2014, 01:58:06 am »
@jocaferlo - I agree this looks strange.

Would be happy to investigate if you recorded a debug log. Please send to kmansoft / gmail.

Thanks in advance.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

jocaferlo

  • Newbie
  • *
  • Posts: 15
Re: Wake Lock
« Reply #19 on: April 27, 2014, 03:16:52 am »
Today I recorded a debug log, but today all was "normal", any excessive consumption.
I turned off PUSH in global settings and I activated sync in all accounts with an interval of 1 hour.

I'll record another debug log on monday, in the same conditions that I have excessive consumption other days.

jocaferlo

  • Newbie
  • *
  • Posts: 15
Re: Wake Lock
« Reply #20 on: April 29, 2014, 08:06:25 pm »
I recorded a debug log today. The behavior of AM wasn't "normal" today, so I'm going to send you the log file (by mail).

I recorded since 10 o'clock until 17:30 aprox.
In all this time I was at office since 10 to 11:30, since 12:00 to 14:00, and since 16:20 to 17:30 ... aprox.
At office I turned off PUSH (with Tasker plugin) for three of the four accounts that by default I have enabled PUSH.
The rest of the time (out of the office) I have turned on PUSH for four accounts and enabled background sync every 1 hour for another two accounts.

As you can see in the attached screenshots my phone was always active coinciding with the time I was in office, and AM seems to be the culprit.

Regards.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: Wake Lock
« Reply #21 on: May 02, 2014, 01:55:43 am »
Yes, this is not good, and I'd be happy to investigate -- but it's three days later, and I have not received your log (yes, I checked the spam folder too).

Can you please send it (maybe "again", if you had done this already)?
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

jocaferlo

  • Newbie
  • *
  • Posts: 15
Re: Wake Lock
« Reply #22 on: May 02, 2014, 07:53:17 am »
I just send it again to your email kmansoft / gmail.
This time from my previous account and from my gmail account.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: Wake Lock
« Reply #23 on: May 07, 2014, 02:03:15 am »
Posting the results:

@jocaferlo has a desktop mail app checking same accounts at his office computer, and wanted to avoid double notifications.

He was using Tasker to turn push mail on and off, driven by the device connecting to a WiFi network at the office.

In the log, I could see that Tasker was telling AquaMail turn push on and and off close to 100 times a day -- not the handful of times as would be expected.

I don't know if this is a bug in Tasker, or a compatibility issue between the Android device and the office WiFi network (more likely), but the result was --

-- AquaMail was getting told to start up push mail about 50 times a day.

My recommendation was to use Tasker to only turn off notifications when at the office.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

jocaferlo

  • Newbie
  • *
  • Posts: 15
Re: Wake Lock
« Reply #24 on: May 08, 2014, 11:24:27 am »
That's right, sometimes my phone connects and disconnects continuously from wif network.
Turning off notifications when at the office solves my needs and I don't have an excessive batery drain.