Skip to content

Time limit already exhausted for foreground service type dataSync #9075

@williamtwomey

Description

@williamtwomey

Steps to reproduce

  1. Open Element app after several hours of it being in the background (6+?)
  2. App crashes with 'Time limit already exhausted for foreground service type dataSync'

Error in Element e01fa6e4c7e7.txt

Worth calling out that app has full permissions and is set to 'Unrestricted' battery usage. This only started happening within the last few days which makes me suspect 1.6.44 might have introduced this.

Outcome

What did you expect?

Elements to run in the background listening for notifications indefinitely

What happened instead?

After a few hours no longer get notifications for new messages, opening app shows a crash report (see attached)

Your phone model

Pixel 7

Operating system version

GrapheneOS (2025081400), Android 16

Application version and app store

1.6.44 installed via F-Droid

Homeserver

synapse

Will you send logs?

Yes

Are you willing to provide a PR?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-DefectSomething isn't working: bugs, crashes, hangs and other reported problems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions