Skip to content

Mobile Android: Battery consumption (background) #4101

@Crash--

Description

@Crash--

Description

We got user feedback saying that TMail has been consuming a lot of battery in the background. He mentioned it’s been happening since around mid-August.

Expected result

Don't have this OS message.

Current behavior

Image (translation: Battery life extension Twake Mail is consuming too much battery in the background. Put it into deep sleep to extend your battery life.)

Context

Galaxy S22
Android: 14
TMail: 0.19.3

Additional information

I tried to ask him logs with adb, something like:

adb shell dumpsys batterystats <PACKAGE> > batterystats.txt
adb shell dumpsys activity services <PACKAGE> > services.txt
adb shell dumpsys jobscheduler <PACKAGE> > jobs.txt
adb shell dumpsys alarm | grep <PACKAGE> > alarms.txt
adb shell dumpsys power > power.txt

(with package === com.linagora.android.teammail)

but he told me there was far too much data in those logs. Maybe you have a better idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions