Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environmental > Power > Battery-constrained Work #8

Open
olegoaer opened this issue Mar 1, 2023 · 1 comment
Open

Environmental > Power > Battery-constrained Work #8

olegoaer opened this issue Mar 1, 2023 · 1 comment
Labels
android question Further information is requested

Comments

@olegoaer
Copy link
Member

olegoaer commented Mar 1, 2023

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 olegoaer added android question Further information is requested labels Mar 1, 2023
@olegoaer olegoaer changed the title Power > Constrained Worker Mar 3, 2023
@olegoaer
Copy link
Member Author

olegoaer commented Mar 6, 2023

Based on an idea by @BastienDcrx

@olegoaer olegoaer changed the title Power > Battery-constrained Work Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android question Further information is requested
1 participant