So of course I know how to use android activity lifecycle, for example the onPause(), onResume(), onStop() etc... but it's not solving my problem.
I have customers complaining that since I have added GPS listening to my app that it is killing their battery. On my phone (OnePlus 6), when I minimise the app, the GPS icon on the top task bar will go away (stop listening).
But for some reason on other phones that I have tested it on (Samsung s9, s8 and J3) the GPS icon will stay up there until the application is completely killed.
Is this possibly down to different operating systems handling it differently?