Author Topic: Problems with JuiceDefender and AquaMail  (Read 13129 times)

apuder

  • Newbie
  • *
  • Posts: 12
Problems with JuiceDefender and AquaMail
« on: December 27, 2012, 02:20:48 pm »
Hi,

I'm using JuiceDefender (battery saving app for Android). JuiceDefender will turn the wifi on and off in certain intervals to preserve battery power. Naturally, when AquaMail wants to pull an imap server when wifi is off, it won't succeed. However, AquaMail should register for a wifi connection event so that when JuiceDefender enables wifi the next time, AquaMail can pull for new mail. This is what K-9 does.

It would be nice if you could implement the same functionality in AquaMail otherwise it becomes almost useless for those of us who use a battery saving program.

BTW: Nice work on your app!

Arno

doctorow

  • Jr. Member
  • **
  • Posts: 87
Re: Problems with JuiceDefender and AquaMail
« Reply #1 on: December 28, 2012, 12:11:08 am »
... AquaMail should register for a wifi connection event so that when JuiceDefender enables wifi the next time, AquaMail can pull for new mail. This is what K-9 does.

Did you check under extended settings, "start sync on event"? There should be an option to listen to wifi connection events.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Problems with JuiceDefender and AquaMail
« Reply #2 on: December 28, 2012, 02:54:37 am »
Right it does, and  Mr. doctorow, thank you.

Another options is to schedule both apps to run on the same schedule. AquaMail's scheduling is very exact.

If you decide to go this way, make sure to set '"Settle in"' delay under "Sync on events" to something like 15 seconds, so that the connection actually has time to connect.
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/

apuder

  • Newbie
  • *
  • Posts: 12
Re: Problems with JuiceDefender and AquaMail
« Reply #3 on: December 28, 2012, 02:57:28 pm »

thanks, guys. The "sync events" did the trick. Very powerful settings, but the fine tuning can be tricky.

Arno

apuder

  • Newbie
  • *
  • Posts: 12
Re: Problems with JuiceDefender and AquaMail
« Reply #4 on: December 28, 2012, 08:40:44 pm »
Sorry to re-open this. In section "Start sync on events", what does setting "At most this often" mean? The question implies a quantity, but the value is a time interval.

Arno

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Problems with JuiceDefender and AquaMail
« Reply #5 on: December 30, 2012, 03:36:55 am »
At most this often means "the minimum amount of time that should pass between the configured events for the app to respond to them and check mail".

But since the above is too long to fit on a preference screen.... Have a better suggestion?

So for example if one of your configured events is WiFi, and you're walking around the office, maybe changing floors, or going to the water cooler, WiFi may drop and then re-connect. This setting prevents the app from running a mail check too often when this happens.
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/

apuder

  • Newbie
  • *
  • Posts: 12
Re: Problems with JuiceDefender and AquaMail
« Reply #6 on: December 31, 2012, 06:27:43 pm »

Thanks for the explanation. This is a tough one to condense into a few words. How about this:

"Minimum time between two sync events"

Arno

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Problems with JuiceDefender and AquaMail
« Reply #7 on: January 01, 2013, 02:25:53 am »

Thanks for the explanation. This is a tough one to condense into a few words. How about this:

"Minimum time between two sync events"

Arno

Gets clipped to "Minimum time between" on standard phone-sized screens, but I'll keep it.
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/

reggiepep

  • Newbie
  • *
  • Posts: 16
Re: Problems with JuiceDefender and AquaMail
« Reply #8 on: February 11, 2013, 03:06:36 am »
i too have been having problems with the combination of JuiceDefender (JD) and Aquamail
I’ve checked the wi-fi connection under the ‘start sync on event’ as mentioned by Doctorow
However the only way I am able to receive notifications from aquamail for incoming emails is if I disable JD’s ability to control the Wi-Fi
I’d be grateful if anybody could give me advice as to what settings I should run in JD or indeed what settings I should have in ‘minimum time between sync events’ or the ‘settle in delay’
Great app and hope to make full use of it
Am running android 4.04 on a Motorola Razr i(XT890)
Thanks in advance

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Problems with JuiceDefender and AquaMail
« Reply #9 on: February 17, 2013, 11:15:01 pm »
Hi,

Not a Juice Defender user, so maybe my comments will be off-base, but let me try:

- "Settle in delay" depends on JD and your device, basically, how long AquaMail should wait to the WiFi connection to fully kick in (become usable). On my devices, I typically see around 10-15 seconds, but I suppose some devices or routers could take longer.

You could try a longer setting, or even before you do that, you could run a test with the screen on, and see if AquaMail's "blue @" icon shows in the status bar after WiFi is turned on, indicating it's trying to sync.

- "Minimum interval" is up to you -- someone could have JD turn on WiFi every 15 minutes, and wanted for AquaMail to only sync once an hour -- while someone else might want a different schedule.

Did you know that if you set your system settings to disable WiFi when the device's screen is off (the default since Andorid 2.3 is to always keep it on, but there is a system setting to change it, no third party app needed) -- then AquaMail will enable WiFi, wait for it to connect, then let it turn off again?
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/

reggiepep

  • Newbie
  • *
  • Posts: 16
Re: Problems with JuiceDefender and AquaMail
« Reply #10 on: February 23, 2013, 12:57:57 pm »
Thanks Kostya for the help

setting wi-fi off when screen is off seems to have done the trick

productofjersey

  • Newbie
  • *
  • Posts: 2
Re: Problems with JuiceDefender and AquaMail
« Reply #11 on: January 05, 2014, 08:33:39 am »
Not to thread highjack but had a question,  if juice defender is not turning on and off wifi,  just turning sync on and off,  how can i get aqua mail to trigger an email sync?  Having a doozey of a time figuring out how juice defender can trigger a sync with out a wifi/data trigger as they are always on for me.  Just want JD to tell Aqua to sync.

Fcasoli

  • Hero Member
  • *****
  • Posts: 541
Re: Problems with JuiceDefender and AquaMail
« Reply #12 on: January 08, 2014, 02:42:54 am »
I have problem to sync email, I have setup with 10 m of frequency, push active, Juice Defender with 15 m of frequency and duration 30 s, I change duration to 60 s if I solve.
With Gmail I receive regulary.

Fcasoli

  • Hero Member
  • *****
  • Posts: 541
Re: Problems with JuiceDefender and AquaMail
« Reply #13 on: January 08, 2014, 03:11:59 am »
Problem not solved, sync process doesn’t work every time.

Sent from my Galaxy Note 3 / S4 Mini <> Gear