That's normal behavior from the Android OS itself. The app can't run continuously for an extended period of time due to system restrictions, battery optimization, or background process limits imposed by Android to improve performance and battery life.