best-practices-mobile icon indicating copy to clipboard operation
best-practices-mobile copied to clipboard

Environmental > Power > Battery-constrained Work

Open olegoaer opened this issue 1 year ago • 1 comments

The method Constraints.Builder#setRequiredNetworkType(NetworkType.UNMETERED) should also be considered as a hint of available WiFi (less energy-greedy than 4G/5G). If so, the detection rule is valid but it is out of scope of the Power category.

documentation: https://developer.android.com/training/connectivity/minimize-effect-regular-updates#app-initiated

olegoaer avatar Mar 01 '23 21:03 olegoaer