Skip to content
Discussion options

You must be logged in to vote

Hello! No battery drain issue here. This is Google's modern Wi-Fi info api working as expected (although very annoying). Unfortunately, Google made a lot of strange choices when designing this API. I'll try to explain it simply... essentially you can only get this info from the onCapabilitiesChanged callback via an all or nothing flag to include location information for the Wi-Fi network and only via this callback. The API to query this information directly has been deprecated. This means that every time the capabilities of your Wi-Fi network changes it sees location access and triggers that location indicator. This is a well-known annoyance with this API.

There are a couple of way to mit…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@godfuture
Comment options

@zaneschepke
Comment options

@godfuture
Comment options

@zaneschepke
Comment options

Answer selected by zaneschepke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants