whats wrong with this? its not starting the service after 5 minutes..Rather its sending after 1 min only
<p>This should start the service after 5 minutes but its starting after 1 minute </p>

<pre><code>Intent myIntent = new Intent(getApplicationContext(), BackgroundDataSender.class);  
            PendingIntent piHeartBeatService = PendingIntent.getService(this, 0, myIntent, PendingIntent.FLAG_UPDATE_CURRENT);
            AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);
            alarmManager.cancel(piHeartBeatService);
            alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, System.currentTimeMillis(), (5*60*1000) , piHeartBeatService);
</code></pre>
