Repository navigation
Open
Labels
documentationImprovements or additions to documentation
Milestone
Description
Context
Follow-up from PR #978 testing:
- Piotr's successful log with power saving off showed
SERVICE_STOP_ACTIONscheduling catch-up, a backgroundfeeds.synonym.torequest returning200 OKwhile Bitkit was stopped, and the laterCATCH_UP_ALARMskipping remote widgets because they were already fresh. NoUnknownHostExceptionappeared inAppWidgetRefreshWorker. - Earlier failing exports with power saving on showed the catch-up alarm firing and the worker attempting remote widget refreshes, but DNS failed with
UnknownHostExceptionforfeeds.synonym.to/mempool.spaceuntil Bitkit was foregrounded. - Facts can still rotate because it is local; remote widgets need usable background network/DNS.
References:
- fix: refresh widgets after idle #978 (comment)
- fix: refresh widgets after idle #978 (comment)
- fix: refresh widgets after idle #978 (comment)
Current interpretation
On some devices / OS versions, power saving or battery optimization can block background DNS/network access while Bitkit is stopped. The widget catch-up implementation can run correctly but still fail to refresh remote-backed widgets until the app is foregrounded or battery saving is disabled.
Product note
We should avoid rushing into an in-app prompt asking users to disable battery optimization for Bitkit. That flow is intrusive and likely not appropriate until we have a better battery profile for LDK-node foreground-service event handling. For now, treat this as a known limitation / support note unless we intentionally decide on a product-level workaround.
Follow-up ideas
- Keep widget/background-work logs explicit about current battery-saving settings so support can identify this quickly.
- Document support guidance: if Facts update but remote widgets stay stale and logs show background DNS failures, check device power saving / unrestricted battery settings.
- Consider a docs/FAQ or troubleshooting entry before any in-app battery optimization request.
- Revisit whether Bitkit should request battery optimization exemptions only after the foreground-service battery behavior is improved.
- Display a "Latest Update" date and a refresh button for widgets with stale remote data.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentation
Activity
jvsena42 commentedon Jun 5, 2026
We could display a latest update date and a refresh button for blocks, like in google prices widget
ovitrif commentedon Jun 5, 2026
This was also suggested by AI to me while working on bg refresh 👍🏻 . Sounds good TBH
EDIT: Promoted to issue description, listed under "Follow-up ideas".
ovitrif commentedon Nov 25, 2026
Triage: moved to the 3.3.0 milestone. 3.2.0 now holds only the Spark release work and nearby payments (NFC and Bluetooth).