Skip to content

Reduce WorkManager/BackgroundTasks Wake-Up Frequency to Improve Battery Life #321

Description

@maugauwi-hash

Area: Performance
Priority: Low
Estimated Time: 2 hours

Description:
Between PendingActionSyncWorker/CheckInSyncTask, VaultWidgetUpdateWorker/TTLWidget's timeline
refresh, and background TTL polling (BackgroundRefreshService), there are several independent
periodic background wake-ups per platform. Consolidating overlapping work into fewer wake-ups would
reduce battery impact without reducing effective freshness.

Tasks:

  • Enumerate all periodic background work items per platform and their actual intervals
  • Identify overlapping work (e.g., widget refresh and TTL polling both waking around the same time)
    that could be coalesced into a single scheduled unit
  • Measure battery/wake-up impact before and after consolidation

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions