AlarmManager repeating alarm missing randomly when phone is not in use
I am calling a background Service at interval of 30 min to read the latitude/longitude of current location and sending it to server by POST API . I am using setRepeating() method of AlarmManager class to schedule alarm every 30 minutes. But some times the alarm is getting missed and service is not called. To monitor if alarm gets called or not in every 30 min I have generated Log.txt file in the sdcard. For every time alarm called the entry for the current time will be written in the Log.txt file. But after comparing 4 to 5 devices Log.txt files I noticed that for some of devices alarm is not