mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 07:54:42 +00:00
android: PowerManager and WifiManager resource locks #319
No reviewers
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml!319
Loading…
Reference in a new issue
No description provided.
Delete branch "android-resource-locks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This obtains a PARTIAL_WAKE_LOCK from Android's PowerManager and a WIFI_MODE_FULL_HIGH_PERF from the WifiManager. This ensures that the CPU will run our tasks when the screen is off and that Wi-Fi download/upload speeds are not dropped. This makes background IBD performance the same as when the app is in the foreground.
Eventually, we can make this customizable by the user, according to their power/network preferences.
For more information see:
ACK
1bb417f84eBeen using these changes myself and they work well for sync times.