This is not Android thing (yet). Just some vendors, start killing apps in the background. However this is developers nightmare, as they can't deliver consistent experience across all devices. IMO background tracking (with all restrictions, killing...) should be handled directly by AndroidOS, not by vendors. Checkout https://dontkillmyapp.com