2min chapter

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

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode