bitcoin-core / gui-qml

Bitcoin GUI (experimental QML-based fork)
MIT License
107 stars 40 forks source link

android: PowerManager and WifiManager resource locks #319

Closed jarolrod closed 1 year ago

jarolrod commented 1 year ago

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:

Windows Intel macOS Apple Silicon macOS ARM64 Android