I using geolocation on background mode not work

i using geolocation on background mode work few time

it work first time few minute when gps phone stop it not working on background anyone can help me pls.

ok i resolve this issue

on MIUI rom in xiaomi rom disable background service for save battery your just except myapp it work other divice not problem