Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Play Services Activity Recognition - Battery use?

Is the Google Play Services component always determining the user's current activity, or only when an app is connected to receive activity updates? The documentation isn't really clear about this, it just says that it has a minimal battery impact in general. I'd like to know if an app constantly querying the user's current activity (with a 2-minute interval, for example) would put any additional strain on the user's battery or not.

like image 284
Nick Avatar asked Jun 03 '13 15:06

Nick


People also ask

Why is Google Play Services using my battery?

What's happening is Google Play Services needs power because the other apps on your phone are using it. The way to lower the overall battery drain is to limit what your apps can do, especially with location services and background operations.

Does Google Play Services need to run in background?

To use the Play Store app, you'll need to turn background data on for your device. This means apps may download data for future reference or provide you with notifications even when you're not using the app. Settings are different on each version of Android.

What happens if I force stop Google Play Services?

This means it will revert to the original version of the Play Store and other apps, almost certainly resolving your issue. Unfortunately, doing so will also cause you to lose all data on your phone, including apps, photos, texts, and more. If you choose this option, make sure to back up your Android phone first.


1 Answers

The battery cost is based on the interval the app specifies. So if you request a 2 minute interval, the device will sleep for 2 minutes, wake-up for a few seconds to do an activity recognition and then go back to sleep for another 2 minutes. Intervals of 2 or 3 minutes should have a minimal battery impact.

like image 187
Marc Stogaitis Avatar answered Sep 17 '22 19:09

Marc Stogaitis