Android Developers Backstage cover image

Episode 198: Location location location, revisited

Android Developers Backstage

CHAPTER

How to Use Throttling to Save Power

We have to build in throttling sometimes to these APIs as you say building protections but throttling has been built into Wi-Fi and Bluetooth for exactly this reason. We think that in majority of cases developers just make mistakes and they end up consuming much more power than they should be using. If all you need is an indoor location if we had a Wi-Fi scan from a couple of seconds ago we have accelerometer and gyro since then we can give you a pretty fresh accurate location right now at low power without turning on the Wi-Fi right so we can we can do this stuff very efficiently if you call get current locationSo and yeah I think you mentioned get last location

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner