modify to send hb by AlarmManager