Author Topic: AquaMails services  (Read 3811 times)

ch3mn3y

  • Newbie
  • *
  • Posts: 7
AquaMails services
« on: January 25, 2016, 11:19:44 pm »
org.kman.AquaMail/.widget.WidgetUpdater$WidgetUpdateService

What is this service doing?
It's (as name suggest) only useful when we are using widgets or it's just a name says and it's more important (like for syncing?)?

Cos it started 1104 services in one last 12 hours (2,2 times more than next service, which is AM's too, and more than 11,4 times more than nonAM service) and it affects my battery more than anything else (except GooglePlayServices and Screen).

Next service is KeepAliveService, so I think it's important :P
« Last Edit: January 25, 2016, 11:32:45 pm by ch3mn3y »
Using Tapatalk

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: AquaMails services
« Reply #1 on: January 26, 2016, 07:01:09 pm »
Yes, it is widgets.

And Android sometimes forgets when you remove a widget, and still asks the "owning" app to update the widgets -- even if all widgets by that time have been removed.

That's one thing I can think of.

Don't know how you are able to establish the connection between this service (it's just a piece of Java code, is all) -- and battery usage.

Some really fancy "battery analyzer Gold Pro Ultimate Plus"?

Personally, I wouldn't take this as being unconditionally true.
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/

ch3mn3y

  • Newbie
  • *
  • Posts: 7
Re: AquaMails services
« Reply #2 on: January 26, 2016, 08:39:31 pm »
I limited it using Amplify Pro. Will see if it's what affects battery the most, but, as Better Battery Stats shows, AquaMail Partial Wakelock has highest number of times and time it takes. I'm sure part of it is checking the emails, but wanted to try with this as its service with the biggest usage.
If I'm mistaken and it will break something with syncing I wile un limit it.

Strange is that I didn't use widget (to many accounts, so little space). Or maybe I used it, but after that I reflashed the firmware on my device...
Using Tapatalk

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: AquaMails services
« Reply #3 on: January 27, 2016, 12:30:09 am »
1 - WidgetUpdateService does not hold wake locks. At all.

2 - I don't understand how anyone could track battery use *per service* -- meaning per arbitrary piece of Java code inside an app.

Wake locks are not held by "services" or "widgets", whatever -- they're held by *applications*.

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/