3 ms·
How much of this should be blamed on Google? iOS only allows certain types of apps to run in the background unfettered - audio, navigation, Bluetooth communicat
by scarface74 8y ago
How much of this should be blamed on Google? iOS only allows certain types of apps to run in the background unfettered - audio, navigation, Bluetooth communications apps (like the Pebble) and third party calling apps. Other types of apps can be periodically awakened by the OS (background app refresh), but the OS decides how often they can be awaken based on the frequency of interaction and a few other heuristics. In low power mode, apps that do background app refresh don’t get CPU time(?) and you can control which apps allowed to run in the background.
This allows the OS to distinguish between apps that always need to work in the background and those that don’t. The only drawback is server type apps. While VLC will keep playing audio in the background, I don’t believe the http server that allows you to copy media over a web interface to your phone will work over an extended period of time unless you’re playing audio at the same time.
- deleted 8y ago[deleted]
- basch 8y agoAndroid 8 adopted this style of backgrounding a year ago. https://arstechnica.com/gadgets/2017/09/android-8-0-oreo-thoroughly-reviewed/9/ https://arstechnica.com/gadgets/2017/09/android-8-0-oreo-tho...
- scarface74 8y agoThe issue with Android, is that Google never breaks backwards compatibility. Android also has improved security permissions but it’s voluntary for apps to adopt it.
- jbk 8y agoVLC follows all Google recommendations, including for Oreo 8 compatibility. We rewrote our background service exactly for that.
- scarface74 8y agoThat wasn’t meant as a knock against VLC at all. But it does say more about Huawei that they indiscriminately kill background apps without taking simple things into account like - is the app playing audio and is it being a good citizen.
- lern_too_spel 8y agoNo, Google regularly updates the minimum targetSdkVersion required for an app published to the Play Store. It maintains backwards compatibility for sideloaded apps.
- weeks 8y agohttps://developer.android.com/distribute/best-practices/develop/target-sdk https://developer.android.com/distribute/best-practices/deve... That hasn't actually happened yet.
- ldiracdelta 8y agoIt may not crash, but google does not preserve backwards compatibility. I just spent 2 weeks doing a GPS system only to find out that it doesn't work on Android Oreo + and I had to totally rewrite it. You can call my GPS idea a bad one, but you can't say that google preserves backwards compatibility. Background services have changed drastically and your old code simply doesn't execute on new versions.
- on_and_off 8y agoGoogle will very soon force app to target the latest API level, making them adopt all the new background restrictions.
- williamscales 8y agoHuawei has massively cranked up the battery optimization to a degree much greater than what Google does. I listen music in the background all the time on my Pixel with zero issues. If I pause the music for ten minutes or so it gets killed. Google can always improve memory management but this one is definitely more on Huawei.
- aiCeivi9 8y ago> How much of this should be blamed on Google? All of it and even more. The Google Play search is abysmal, there is no way to filter out applications that require many strange permissions. Now all applications require any permission they can think of and ad networks are happy with that.