Your question has nothing with navigation software. Besides, we certainly can't know which device you have
You must adjust app (power management) settings in phone setup