title: Alarm not triggering according to time properly after rebooting
body: <p>I am using AlramManager to setAlarm using Following method:</p>
  
  <pre><code>    public static void scheduleAlarmReceiverOnce(Context context,String did,long time) {
      AlarmManager alarmMgr = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);
      PendingIntent pendingIntent =PendingIntent.getBroadcast(context, 0, new Intent(context, AlarmReciever.class),PendingIntent.FLAG_CANCEL_CURRENT);
      alarmMgr.set(AlarmManager.RTC_WAKEUP,time, pendingIntent);
  }
  </code></pre>
  
  <p>Which i m calling here</p>
  
  <pre><code>        Utils.scheduleAlarmReceiverOnce(this, did,Calendar.getInstance().getTimeInMillis()+30000);
  </code></pre>
  
  <p>Its working fine means the alarm is getting exactly at time in my broadcast where i m displaying a toast displayed exactly at 30 seconds.
  My problem is when i reboot or restard i m caluculating and substracting the wasted time and scheduling alarm again but with the left time..ON my boot reciever i am starting my service again where alarm is rescheduled.</p>
  
  <pre><code>            Utils.scheduleAlarmReceiverOnce(this, did,Calendar.getInstance().getTimeInMillis()+leftime);
  </code></pre>
  
  <p>Whwre lefttime i m getting correctly..exactly around 17000 or 20000 i,e; around 20 seconds 
  But my alarm triggers instantly without waiting for 20 seconds..</p>
  
  <p>Help plz..
  Thanks in Advance</p>