alarm manager wakelock battery drain help!

Search This thread

custom_tisto

Member
Aug 10, 2012
14
0
android.intent.action.TIME_TICK

what is that? in the above posted it showed 1,000 alarms

its that not high on mine, but pretty high

exactly what is android.intent.action.TIME_TICK ?

From what I understand, time tick is a broadcast that
A minute has passed. It is the first entry of every minute in the logs I have seen.
 

guizmob

Member
Jun 12, 2013
5
0
AlarmManager drains battery

Hello,

my battery goes down really fast, aprox 20% per hour. The AlarmManager is taking most of it. Please, anybody could take a look at the dump? Thank you.


Code:
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Current Alarm Manager state:
 
  Realtime wakeup (now=2013-06-14 14:26:24):
  RTC_WAKEUP #27: Alarm{414919b0 type 0 com.google.android.partnersetup}
    type=0 when=+6d9h13m27s584ms repeatInterval=0 count=0
    operation=PendingIntent{4135aa30: PendingIntentRecord{416b4b48 com.google.android.partnersetup startService}}
  RTC_WAKEUP #26: Alarm{414ea820 type 0 com.google.android.gsf}
    type=0 when=+3d14h5m52s766ms repeatInterval=535834000 count=0
    operation=PendingIntent{410cbb00: PendingIntentRecord{41508c18 com.google.android.gsf broadcastIntent}}
  RTC_WAKEUP #25: Alarm{4151d608 type 0 com.google.android.gsf}
    type=0 when=+3d14h5m52s766ms repeatInterval=535834000 count=0
    operation=PendingIntent{414eca80: PendingIntentRecord{414d0158 com.google.android.gsf broadcastIntent}}
  RTC_WAKEUP #24: Alarm{413b23b0 type 0 com.google.android.gsf}
    type=0 when=+3d14h5m52s766ms repeatInterval=535834000 count=0
    operation=PendingIntent{414aae40: PendingIntentRecord{4168a918 com.google.android.gsf broadcastIntent}}
  RTC_WAKEUP #23: Alarm{4155f180 type 0 com.google.android.gsf}
    type=0 when=+3d14h5m52s766ms repeatInterval=535834000 count=0
    operation=PendingIntent{40cd8ef8: PendingIntentRecord{41613540 com.google.android.gsf broadcastIntent}}
  RTC_WAKEUP #22: Alarm{411c9c00 type 0 com.google.android.gsf}
    type=0 when=+3d14h5m52s766ms repeatInterval=535834000 count=0
    operation=PendingIntent{41172cf0: PendingIntentRecord{414e93d8 com.google.android.gsf broadcastIntent}}
  RTC_WAKEUP #21: Alarm{415a1328 type 0 com.google.android.gms}
    type=0 when=+2d18h10m35s251ms repeatInterval=0 count=0
    operation=PendingIntent{41592dc0: PendingIntentRecord{4139b8a8 com.google.android.gms broadcastIntent}}
  RTC_WAKEUP #20: Alarm{41de8c90 type 0 com.android.providers.calendar}
    type=0 when=+22h0m16s177ms repeatInterval=0 count=0
    operation=PendingIntent{415e1fb0: PendingIntentRecord{41e73a78 com.android.providers.calendar broadcastIntent}}
  RTC_WAKEUP #19: Alarm{41615ca8 type 0 com.vp.alarmClockPlusDock}
    type=0 when=+18h48m35s83ms repeatInterval=0 count=0
    operation=PendingIntent{416a7558: PendingIntentRecord{41615c08 com.vp.alarmClockPlusDock broadcastIntent}}
  RTC_WAKEUP #18: Alarm{41762058 type 0 com.vp.alarmClockPlusDock}
    type=0 when=+18h48m35s83ms repeatInterval=0 count=0
    operation=PendingIntent{4158d8e0: PendingIntentRecord{41761ff8 com.vp.alarmClockPlusDock broadcastIntent}}
  RTC_WAKEUP #17: Alarm{416ba060 type 0 com.vp.alarmClockPlusDock}
    type=0 when=+18h48m35s83ms repeatInterval=0 count=0
    operation=PendingIntent{411f7e80: PendingIntentRecord{416bb5b0 com.vp.alarmClockPlusDock broadcastIntent}}
  RTC_WAKEUP #16: Alarm{41556678 type 0 com.vp.alarmClockPlusDock}
    type=0 when=+18h48m35s83ms repeatInterval=0 count=0
    operation=PendingIntent{41173f78: PendingIntentRecord{415b5188 com.vp.alarmClockPlusDock broadcastIntent}}
  RTC_WAKEUP #15: Alarm{41422780 type 0 com.vp.alarmClockPlusDock}
    type=0 when=+18h48m35s83ms repeatInterval=0 count=0
    operation=PendingIntent{41422770: PendingIntentRecord{41422680 com.vp.alarmClockPlusDock broadcastIntent}}
  RTC_WAKEUP #14: Alarm{414aefc0 type 0 com.vp.alarmClockPlusDock}
    type=0 when=+18h48m35s83ms repeatInterval=0 count=0
    operation=PendingIntent{416b8fd0: PendingIntentRecord{416819e0 com.vp.alarmClockPlusDock broadcastIntent}}
  RTC_WAKEUP #13: Alarm{4144f408 type 0 com.vp.alarmClockPlusDock}
    type=0 when=+18h48m35s83ms repeatInterval=0 count=0
    operation=PendingIntent{41567118: PendingIntentRecord{414554c8 com.vp.alarmClockPlusDock broadcastIntent}}
  RTC_WAKEUP #12: Alarm{40d16610 type 0 com.vp.alarmClockPlusDock}
    type=0 when=+18h48m35s83ms repeatInterval=0 count=0
    operation=PendingIntent{415bb7d8: PendingIntentRecord{41628680 com.vp.alarmClockPlusDock broadcastIntent}}
  RTC_WAKEUP #11: Alarm{415dfe60 type 0 com.vp.alarmClockPlusDock}
    type=0 when=+18h48m35s83ms repeatInterval=0 count=0
    operation=PendingIntent{415fc290: PendingIntentRecord{415fc238 com.vp.alarmClockPlusDock broadcastIntent}}
  RTC_WAKEUP #10: Alarm{4134daa0 type 0 com.vp.alarmClockPlusDock}
    type=0 when=+18h48m35s83ms repeatInterval=0 count=0
    operation=PendingIntent{411ca9a8: PendingIntentRecord{411e32b0 com.vp.alarmClockPlusDock broadcastIntent}}
  RTC_WAKEUP #9: Alarm{413297a0 type 0 com.vp.alarmClockPlusDock}
    type=0 when=+18h48m35s83ms repeatInterval=0 count=0
    operation=PendingIntent{41349a48: PendingIntentRecord{4132d918 com.vp.alarmClockPlusDock broadcastIntent}}
  RTC_WAKEUP #8: Alarm{41646958 type 0 com.vp.alarmClockPlusDock}
    type=0 when=+18h48m35s83ms repeatInterval=0 count=0
    operation=PendingIntent{40cc3398: PendingIntentRecord{41649228 com.vp.alarmClockPlusDock broadcastIntent}}
  RTC_WAKEUP #7: Alarm{41834be0 type 0 com.whatsapp}
    type=0 when=+13h33m35s83ms repeatInterval=86400000 count=0
    operation=PendingIntent{41124918: PendingIntentRecord{415821f0 com.whatsapp broadcastIntent}}
  RTC_WAKEUP #6: Alarm{4133eea0 type 0 com.google.android.gms}
    type=0 when=+11h56m24s307ms repeatInterval=86400000 count=1
    operation=PendingIntent{413e4ff0: PendingIntentRecord{416be458 com.google.android.gms startService}}
  RTC_WAKEUP #5: Alarm{4164a380 type 0 com.whatsapp}
    type=0 when=+9h33m35s83ms repeatInterval=86400000 count=0
    operation=PendingIntent{416c55e8: PendingIntentRecord{416be558 com.whatsapp broadcastIntent}}
  RTC_WAKEUP #4: Alarm{416110f8 type 0 com.android.vending}
    type=0 when=+9h14m7s29ms repeatInterval=0 count=0
    operation=PendingIntent{41084de8: PendingIntentRecord{41611058 com.android.vending startService}}
  RTC_WAKEUP #3: Alarm{414f86f8 type 0 com.google.android.gsf}
    type=0 when=+21m42s87ms repeatInterval=1800000 count=0
    operation=PendingIntent{41224a50: PendingIntentRecord{41370758 com.google.android.gsf broadcastIntent}}
  RTC_WAKEUP #2: Alarm{41521c18 type 0 android}
    type=0 when=+4m19s34ms repeatInterval=3698064 count=1
    operation=PendingIntent{40eb63f8: PendingIntentRecord{411c4118 android broadcastIntent}}
  RTC_WAKEUP #1: Alarm{415080a0 type 0 com.facebook.katana}
    type=0 when=+34s386ms repeatInterval=0 count=0
    operation=PendingIntent{4183a210: PendingIntentRecord{4120e810 com.facebook.katana broadcastIntent}}
  RTC_WAKEUP #0: Alarm{413ccbf0 type 0 com.twitter.android}
    type=0 when=+6s0ms repeatInterval=0 count=0
    operation=PendingIntent{41823cb0: PendingIntentRecord{416901b0 com.twitter.android startService}}
  RTC #4: Alarm{40cf70f0 type 1 android}
    type=1 when=+21h33m35s83ms repeatInterval=0 count=0
    operation=PendingIntent{40fbc960: PendingIntentRecord{410ec9c0 android broadcastIntent}}
  RTC #3: Alarm{414086c8 type 1 com.whatsapp}
    type=1 when=+19h33m35s83ms repeatInterval=86400000 count=1
    operation=PendingIntent{4140e718: PendingIntentRecord{416afb70 com.whatsapp broadcastIntent}}
  RTC #2: Alarm{415e1910 type 1 com.facebook.katana}
    type=1 when=+10h46m12s799ms repeatInterval=0 count=0
    operation=PendingIntent{415d6b30: PendingIntentRecord{414e7e18 com.facebook.katana broadcastIntent}}
  RTC #1: Alarm{41601e60 type 1 com.android.calendar}
    type=1 when=+9h33m35s83ms repeatInterval=0 count=0
    operation=PendingIntent{4161b3f0: PendingIntentRecord{413226f0 com.android.calendar broadcastIntent}}
  RTC #0: Alarm{4149cc00 type 1 com.facebook.katana}
    type=1 when=+21m42s317ms repeatInterval=0 count=0
    operation=PendingIntent{41324490: PendingIntentRecord{416bf570 com.facebook.katana startService}}
 
  Elapsed realtime wakeup (now=+14h47m22s64ms):
  ELAPSED_WAKEUP #11: Alarm{415c86d0 type 2 com.google.android.apps.maps}
    type=2 when=+Ĩ55d0h15m55s552ms repeatInterval=0 count=0
    operation=PendingIntent{40cda0f8: PendingIntentRecord{4144e588 com.google.android.apps.maps broadcastIntent}}
  ELAPSED_WAKEUP #10: Alarm{415c85d0 type 2 com.google.android.gms}
    type=2 when=+Ĩ54d22h3m32s644ms repeatInterval=0 count=0
    operation=PendingIntent{40cdaba8: PendingIntentRecord{412ad198 com.google.android.gms broadcastIntent}}
  ELAPSED_WAKEUP #9: Alarm{4130e4a8 type 2 com.google.android.gms}
    type=2 when=+20d22h25m52s74ms repeatInterval=0 count=0
    operation=PendingIntent{41314b48: PendingIntentRecord{4129cc40 com.google.android.gms startService}}
  ELAPSED_WAKEUP #8: Alarm{415b5cb8 type 2 com.google.android.location}
    type=2 when=+19h11m30s516ms repeatInterval=0 count=0
    operation=PendingIntent{40cdac48: PendingIntentRecord{411eac40 com.google.android.location broadcastIntent}}
  ELAPSED_WAKEUP #7: Alarm{41823738 type 2 com.google.android.apps.maps}
    type=2 when=+4h50m43s34ms repeatInterval=0 count=0
    operation=PendingIntent{41628a68: PendingIntentRecord{4136c5a8 com.google.android.apps.maps broadcastIntent}}
  ELAPSED_WAKEUP #6: Alarm{41670aa0 type 2 com.google.android.gms}
    type=2 when=+2h49m25s547ms repeatInterval=0 count=0
    operation=PendingIntent{4170a9f8: PendingIntentRecord{4107a6f8 com.google.android.gms broadcastIntent}}
  ELAPSED_WAKEUP #5: Alarm{4133eb08 type 2 com.google.android.gms}
    type=2 when=+2h18m26s862ms repeatInterval=0 count=0
    operation=PendingIntent{411452b0: PendingIntentRecord{414322c0 com.google.android.gms broadcastIntent}}
  ELAPSED_WAKEUP #4: Alarm{41214620 type 2 android}
    type=2 when=+1h0m36s101ms repeatInterval=0 count=0
    operation=PendingIntent{410b0a60: PendingIntentRecord{40fae460 android broadcastIntent}}
  ELAPSED_WAKEUP #3: Alarm{4128ab80 type 2 com.quoord.tapatalkpro.activity}
    type=2 when=+13m22s557ms repeatInterval=1800000 count=1
    operation=PendingIntent{41291868: PendingIntentRecord{4128f398 com.quoord.tapatalkpro.activity broadcastIntent}}
  ELAPSED_WAKEUP #2: Alarm{40cf6b80 type 2 com.google.android.apps.maps}
    type=2 when=+12m37s936ms repeatInterval=900000 count=1
    operation=PendingIntent{40cf6b70: PendingIntentRecord{4139f7c8 com.google.android.apps.maps startService}}
  ELAPSED_WAKEUP #1: Alarm{4157cf20 type 2 com.google.android.gsf}
    type=2 when=+7m2s40ms repeatInterval=0 count=0
    operation=PendingIntent{416c5da8: PendingIntentRecord{41df4270 com.google.android.gsf broadcastIntent}}
  ELAPSED_WAKEUP #0: Alarm{416af928 type 2 android}
    type=2 when=+37s209ms repeatInterval=0 count=0
    operation=PendingIntent{40fe4eb0: PendingIntentRecord{413b6358 android broadcastIntent}}
  ELAPSED #11: Alarm{4154d050 type 3 android}
    type=3 when=+5d9h33m40s409ms repeatInterval=0 count=0
    operation=PendingIntent{40f5db88: PendingIntentRecord{4114e140 android broadcastIntent}}
  ELAPSED #10: Alarm{415d6fc0 type 3 com.facebook.katana}
    type=3 when=+1d10h46m19s916ms repeatInterval=0 count=0
    operation=PendingIntent{40ff7fb8: PendingIntentRecord{415d6f20 com.facebook.katana startService}}
  ELAPSED #9: Alarm{4160a8a0 type 3 com.facebook.katana}
    type=3 when=+1d9h13m30s841ms repeatInterval=0 count=0
    operation=PendingIntent{4160a890: PendingIntentRecord{4160a518 com.facebook.katana startService}}
  ELAPSED #8: Alarm{41552b68 type 3 android}
    type=3 when=+21h57m49s120ms repeatInterval=0 count=0
    operation=PendingIntent{410c82f0: PendingIntentRecord{41164070 android broadcastIntent}}
  ELAPSED #7: Alarm{4168b678 type 3 com.facebook.katana}
    type=3 when=+10h57m37s936ms repeatInterval=86400000 count=0
    operation=PendingIntent{41511e80: PendingIntentRecord{4168b600 com.facebook.katana startService}}
  ELAPSED #6: Alarm{41452628 type 3 com.facebook.katana}
    type=3 when=+9h27m37s936ms repeatInterval=86400000 count=0
    operation=PendingIntent{41338f88: PendingIntentRecord{4120bfe0 com.facebook.katana startService}}
  ELAPSED #5: Alarm{41e69930 type 3 mobi.mgeek.TunnyBrowser}
    type=3 when=+1h13m26s425ms repeatInterval=14400000 count=0
    operation=PendingIntent{41e69920: PendingIntentRecord{4136a350 mobi.mgeek.TunnyBrowser startService}}
  ELAPSED #4: Alarm{41de2608 type 3 com.facebook.katana}
    type=3 when=+29m20s14ms repeatInterval=0 count=0
    operation=PendingIntent{412bdef0: PendingIntentRecord{41de2568 com.facebook.katana startService}}
  ELAPSED #3: Alarm{4108d6c8 type 3 android}
    type=3 when=+27m37s936ms repeatInterval=1800000 count=1
    operation=PendingIntent{40ef48b8: PendingIntentRecord{41093288 android broadcastIntent}}
  ELAPSED #2: Alarm{413779e8 type 3 com.whatsapp}
    type=3 when=+12m37s936ms repeatInterval=3600000 count=1
    operation=PendingIntent{41570e80: PendingIntentRecord{41620c78 com.whatsapp broadcastIntent}}
  ELAPSED #1: Alarm{41293708 type 3 android}
    type=3 when=+8m34s730ms repeatInterval=0 count=0
    operation=PendingIntent{40f5e4a0: PendingIntentRecord{4114df88 android broadcastIntent}}
  ELAPSED #0: Alarm{416c1340 type 3 android}
    type=3 when=+35s33ms repeatInterval=0 count=0
    operation=PendingIntent{40fbe160: PendingIntentRecord{410ec7e8 android broadcastIntent}}
 
  Broadcast ref count: 0
 
  Alarm Stats:
  com.google.android.location
    23072ms running, 1 wakeups
    1 alarms: act=com.google.android.location.ALARM_WAKEUP_LOCATOR flg=0x14
  com.android.calendar
    208ms running, 0 wakeups
    1 alarms: act=com.android.calendar.APPWIDGET_SCHEDULED_UPDATE dat=content://com.android.calendar typ=vnd.android.data/update flg=0x14
  android
    82687ms running, 117 wakeups
    1 alarms: act=android.intent.action.DATE_CHANGED flg=0x20000014
    729 alarms: act=android.intent.action.TIME_TICK flg=0x40000014
    30 alarms: act=com.android.server.action.NETWORK_STATS_POLL flg=0x14
    82 alarms: act=com.android.server.ThrottleManager.action.POLL flg=0x14
    82 alarms: act=android.net.wifi.DHCP_RENEW flg=0x14
    2 alarms: act=com.android.internal.policy.impl.PhoneWindowManager.DELAYED_KEYGUARD flg=0x14
    6 alarms: act=android.app.backup.intent.RUN flg=0x40000014
    27 alarms: act=android.content.syncmanager.SYNC_ALARM flg=0x14
  com.android.settings
    4031501ms running, 78322 wakeups
    78322 alarms: act=android.net.conn.CONNECTIVITY_CHANGE flg=0x14
  com.whatsapp
    11771ms running, 10 wakeups
    1 alarms: act=ALARM_REPORT_SYNCS flg=0x14
    1 alarms: act=ALARM_MESSAGES_DB_BACKUP flg=0x14
    2 alarms: act=ALARM_AVAILABLE_TIMEOUT flg=0x14
    1 alarms: act=ALARM_ROTATE_LOGS flg=0x14
    20 alarms: act=ALARM_ACTION flg=0x14
    6 alarms: act=com.whatsapp.MessageService.RECONNECT flg=0x4 cmp=com.whatsapp/.messaging.MessageService
  com.google.android.apps.maps
    1646ms running, 62 wakeups
    9 alarms: act=com.google.android.apps.maps.nlp.ALARM_WAKEUP_LOCATOR flg=0x14
    49 alarms: flg=0x4 cmp=com.google.android.apps.maps/com.google.googlenav.prefetch.android.PrefetcherService
    4 alarms: act=com.google.android.apps.maps.nlp.ALARM_WAKEUP_CACHE_UPDATER flg=0x14
  com.android.phone
    13406ms running, 2 wakeups
    150 alarms: act=com.android.internal.telephony.gprs-data-stall flg=0x14
    2 alarms: act=com.android.internal.telephony.gprs-reconnect.0 flg=0x14
  mobi.mgeek.TunnyBrowser
    183ms running, 0 wakeups
    3 alarms: flg=0x4 cmp=mobi.mgeek.TunnyBrowser/com.dolphin.browser.message.C2DMService
  com.google.android.gsf
    4090ms running, 70 wakeups
    30 alarms: flg=0x14
    11 alarms: act=com.google.android.intent.action.GTALK_RECONNECT flg=0x14
    21 alarms: act=com.google.android.intent.action.MCS_HEARTBEAT flg=0x14
    8 alarms: act=com.google.android.intent.action.SEND_IDLE flg=0x14
  com.google.android.googlequicksearchbox
    47ms running, 0 wakeups
    2 alarms: act=com.google.android.googlequicksearchbox.REFRESH_SEARCH_HISTORY flg=0x4
  com.facebook.katana
    3372ms running, 35 wakeups
    4 alarms: flg=0x4 cmp=com.facebook.katana/com.facebook.selfupdate.SelfUpdateFetchService
    1 alarms: act=com.facebook.katana.service.19 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    18 alarms: act=com.facebook.analytics.service.AnalyticsEventUploader.ACTION_ALARM flg=0x14
    1 alarms: act=com.facebook.katana.service.51 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.53 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.12 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.16 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.15 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.17 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.21 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.45 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.47 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.49 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.63 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.61 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.43 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.41 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.orca.database.ACTION_ALARM flg=0x14
    1 alarms: act=com.facebook.katana.service.25 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.23 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.29 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.27 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.31 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    2 alarms: act=com.facebook.katana.service.5 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    2 alarms: act=com.facebook.katana.service.4 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    17 alarms: act=com.facebook.common.executors.WakingExecutorService.ACTION_ALARM flg=0x14
    1 alarms: act=com.facebook.katana.service.35 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.59 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.33 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    2 alarms: act=com.facebook.katana.service.3 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.57 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.39 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.55 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
    1 alarms: act=com.facebook.katana.service.37 flg=0x4 cmp=com.facebook.katana/.service.FacebookService
  com.twitter.android
    98ms running, 3 wakeups
    3 alarms: act=com.twitter.android.poll.alarm cat=[el_hiruelo] flg=0x4 cmp=com.twitter.android/.client.PollingService
  com.android.vending
    23ms running, 3 wakeups
    1 alarms: flg=0x4 cmp=com.android.vending/com.google.android.finsky.services.DailyHygiene
    2 alarms: flg=0x4 cmp=com.android.vending/com.google.android.finsky.services.ContentSyncService
  com.quoord.tapatalkpro.activity
    2377ms running, 29 wakeups
    29 alarms: flg=0x14
  com.android.providers.calendar
    15882ms running, 14 wakeups
    14 alarms: act=com.android.providers.calendar.intent.CalendarProvider2 flg=0x14
  com.vp.alarmClockPlusDock
    651ms running, 1 wakeups
    1 alarms: act=com.vp.alarmClockPlusDock.ALARM_ALERT flg=0x14
  com.google.android.gms
    111ms running, 2 wakeups
    1 alarms: act=com.google.android.gms.nlp.ALARM_WAKEUP_ACTIVE_COLLECTOR flg=0x14
    1 alarms: act=com.google.android.gms.icing.INDEX_RECURRING_MAINTENANCE flg=0x4 cmp=com.google.android.gms/.icing.impl.IndexService
 

coolpixs4

Senior Member
Mar 7, 2011
548
163
Use Gsam apk and BetterBatteryStarts apk for detecting wakelocks

Suggested app for isolate alarm_rtc wakelock

Greenify *ROOT* for any devices from GooglePlay Store

HERE
 
Last edited:

guizmob

Member
Jun 12, 2013
5
0
Thank you for your answer.


Use Gsam apk and BetterBatteryStarts apk for detecting wakelocks

I have both installed. BetterBatteryStats says that com.android.settings is generating almost all of the wakeups in the Alarms section (16733 wakeups, one hour since unplugged). In the previous post you can find the line showing it. Do you know how can I solve this problem? If wifi and mobile data is off, the Alarms wakeups stop increasing.

Gsam reveals that most of the battery is being taken by Android System and the first to wakelocks are AlarmManager and ConnectivityService.


Suggested app for isolate alarm_rtc wakelock

Greenify *ROOT* for any devices from GooglePlay Store

Greenify says that it cannot analyse applications that are part of the system.
 

TheEndHK

Senior Member
Apr 25, 2011
2,668
808
Thank you for your answer.




I have both installed. BetterBatteryStats says that com.android.settings is generating almost all of the wakeups in the Alarms section (16733 wakeups, one hour since unplugged). In the previous post you can find the line showing it. Do you know how can I solve this problem? If wifi and mobile data is off, the Alarms wakeups stop increasing.

Gsam reveals that most of the battery is being taken by Android System and the first to wakelocks are AlarmManager and ConnectivityService.




Greenify says that it cannot analyse applications that are part of the system.

You'll need Greenify donate ver for system app but still not all system app work. Anyway, Greenify is really a great tool for the paid ver.

You can't avoid all wakeup, some apps need it. But I found some interesting in your dump file.
27 alarms: act=android.content.syncmanager.SYNC_ALARM flg=0x14
com.android.settings
4031501ms running, 78322 wakeups

Is that the content syncmanager? It's easy to solve the problem, just go to PlayStore download the AutoRun Manager and enable system app in settings. It's an app for AlarmDump.txt, you can find android.content.syncmanager.SYNC_ALARM and disable it in AutoRun Manager.
 
Last edited:

MegaSharkXDA

Senior Member
Dec 24, 2010
242
13
Just ran

adb shell dumpsys alarm > AlarmDump.txt

on my computer but I can't find the txt file on my sdcard (internal storage)... any clues?
 
Last edited:

thilanga123

New member
Jun 20, 2013
3
1
Colombo
use greenify to get rid of alarmmanager battery drain issue

so I just installed BetterBatteryStats and under wakelock the culprit is alarm manager. I don't have any alarms on but it keeps turning on how to turn this thing off? thanks
will hit thanks for any helpful answers :)

im also victim of alarm manager battery drain issue..
in wake lock ditector it shows 500+ wake locks in past 10 hour..

i generate alarm dump file and most of wake locks by calender storage, facebook, g+ and poweramp..

so i use greenify for hibernate those applications.
u can use greenify with xposed installer for bettr proformance.
im sure these method will help u...

bt u need is root acess :)
 
  • Like
Reactions: Simba501

zbysogi

Senior Member
Jan 25, 2015
130
7
I have the same problem. Before rooting my phone the battery held for 22hours... now its like 5 :/ im dying here. Please help.

Code:
Batch{43036f60 num=3 start=178904 end=197336}:
  RTC_WAKEUP #2: Alarm{4300b568 type 0 com.google.android.gms}
    type=0 whenElapsed=153345 when=-14s685ms window=-1 repeatInterval=1800000 count=0    operation=PendingIntent{42e58708: PendingIntentRecord{430c1708 com.google.android.gms broadcastIntent}}
  ELAPSED_WAKEUP #1: Alarm{42fc65d0 type 2 com.google.android.gms}
    type=2 whenElapsed=178904 when=+10s874ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{4332c2f0: PendingIntentRecord{42876898 com.google.android.gms broadcastIntent}}
  ELAPSED #0: Alarm{430389f0 type 3 com.devexpert.weather}
    type=3 whenElapsed=152336 when=-15s694ms window=-1 repeatInterval=60000 count=0
    operation=PendingIntent{42710d98: PendingIntentRecord{43205a78 com.devexpert.weather broadcastIntent}}
Batch{43036f88 num=1 start=198657 end=198657}:
  ELAPSED_WAKEUP #0: Alarm{42fbf9f8 type 2 com.facebook.katana}
    type=2 whenElapsed=198657 when=+30s627ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{42fe1440: PendingIntentRecord{42eb7088 com.facebook.katana broadcastIntent}}
Batch{42e929e8 num=1 start=211275 end=211275 STANDALONE}:
  ELAPSED #0: Alarm{431cab18 type 3 android}
    type=3 whenElapsed=211275 when=+43s245ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{42117b78: PendingIntentRecord{420f4848 android broadcastIntent}}
Batch{42fa8710 num=2 start=221790 end=221790}:
  ELAPSED_WAKEUP #1: Alarm{42f9b4f8 type 2 com.facebook.orca}
    type=2 whenElapsed=221790 when=+53s760ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{4287ef88: PendingIntentRecord{43147d08 com.facebook.orca broadcastIntent}}
  ELAPSED_WAKEUP #0: Alarm{42faab18 type 2 com.google.android.gms}
    type=2 whenElapsed=207304 when=+39s274ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{42681578: PendingIntentRecord{42d0fe58 com.google.android.gms broadcastIntent}}
Batch{42fa8738 num=3 start=900000 end=900000}:
  RTC_WAKEUP #2: Alarm{42f84090 type 0 com.viber.voip}
    type=0 whenElapsed=900000 when=+12m11s970ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{42e0f4e0: PendingIntentRecord{431a7300 com.viber.voip broadcastIntent}}
  ELAPSED_WAKEUP #1: Alarm{42f8b388 type 2 com.facebook.katana}
    type=2 whenElapsed=900000 when=+12m11s970ms window=1 repeatInterval=900000 count=0
    operation=PendingIntent{42d417a0: PendingIntentRecord{43041628 com.facebook.katana broadcastIntent}}
  ELAPSED #0: Alarm{42f8f158 type 3 android}
    type=3 whenElapsed=816430 when=+10m48s400ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{42d37d68: PendingIntentRecord{42d38998 android broadcastIntent}}
Batch{42f78078 num=4 start=2065363 end=3176630}:
  RTC_WAKEUP #3: Alarm{42f60e10 type 0 com.android.vending}
    type=0 whenElapsed=2065363 when=+31m37s333ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{430e3690: PendingIntentRecord{42fc7d28 com.android.vending startService}}
  ELAPSED #2: Alarm{42f75778 type 3 com.google.android.gms}
    type=3 whenElapsed=1887474 when=+28m39s444ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{4284ec68: PendingIntentRecord{431aedb8 com.google.android.gms broadcastIntent}}
  ELAPSED_WAKEUP #1: Alarm{42f760a0 type 2 android}
    type=2 whenElapsed=1847772 when=+27m59s742ms window=-1 repeatInterval=1800000 count=0
    operation=PendingIntent{42e4cc10: PendingIntentRecord{42e023c0 android broadcastIntent}}
  ELAPSED #0: Alarm{42f7f318 type 3 android}
    type=3 whenElapsed=1826630 when=+27m38s600ms window=-1 repeatInterval=1800000 count=0
    operation=PendingIntent{42f66030: PendingIntentRecord{42f66530 android broadcastIntent}}
Batch{42f780a0 num=1 start=3571275 end=3571275}:
  RTC #0: Alarm{42f5ff10 type 1 com.cleanmaster.security}
    type=1 whenElapsed=3571275 when=+56m43s245ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{4261fe48: PendingIntentRecord{42ead4e8 com.cleanmaster.security broadcastIntent}}
Batch{42eb2288 num=1 start=3600000 end=3600001}:
  ELAPSED #0: Alarm{42ec7340 type 3 com.whatsapp}
    type=3 whenElapsed=3600000 when=+57m11s970ms window=1 repeatInterval=3600000 count=0
    operation=PendingIntent{42ad1118: PendingIntentRecord{42ad10e0 com.whatsapp broadcastIntent}}
Batch{42eb22b0 num=1 start=3764062 end=6688625}:
  RTC_WAKEUP #0: Alarm{42eaf278 type 0 android}
    type=0 whenElapsed=3764062 when=+59m56s32ms window=-1 repeatInterval=3899418 count=0
    operation=PendingIntent{42fcf3f8: PendingIntentRecord{43019720 android broadcastIntent}}
Batch{42c25b40 num=1 start=7302875 end=7302875}:
  RTC #0: Alarm{42d78f38 type 1 com.cleanmaster.security}
    type=1 whenElapsed=7302875 when=+1h58m54s845ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{42f7a028: PendingIntentRecord{42ec6cc8 com.cleanmaster.security broadcastIntent}}
Batch{42eaaad8 num=1 start=10843032 end=10843032}:
  RTC #0: Alarm{42eaabb0 type 1 com.cleanmaster.security}
    type=1 whenElapsed=10843032 when=+2h57m55s1ms window=0 repeatInterval=10800000 count=0
    operation=PendingIntent{42ba76e8: PendingIntentRecord{42e54910 com.cleanmaster.security broadcastIntent}}
Batch{42eaab00 num=2 start=15848200 end=15848200}:
  RTC_WAKEUP #1: Alarm{42e9ffb0 type 0 com.cleanmaster.security}
    type=0 whenElapsed=15848200 when=+4h21m20s170ms window=0 repeatInterval=15805543 count=0
    operation=PendingIntent{42fa4c30: PendingIntentRecord{42ba6fd8 com.cleanmaster.security startService}}
  RTC #0: Alarm{43035cc8 type 1 com.cleanmaster.security}
    type=1 whenElapsed=14502673 when=+3h58m54s643ms window=0 repeatInterval=14400000 count=0
    operation=PendingIntent{42e28a38: PendingIntentRecord{42e274a0 com.cleanmaster.security broadcastIntent}}
Batch{42e825d8 num=3 start=43171275 end=43171275}:
  RTC_WAKEUP #2: Alarm{42e8a260 type 0 com.whatsapp}
    type=0 whenElapsed=43171275 when=+11h56m43s245ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{42d2c6d0: PendingIntentRecord{42d5a868 com.whatsapp broadcastIntent}}
  RTC #1: Alarm{42e69808 type 1 com.sec.android.widgetapp.SPlannerAppWidget}
    type=1 whenElapsed=43171275 when=+11h56m43s245ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{42e2d2b0: PendingIntentRecord{4320dfd0 com.sec.android.widgetapp.SPlannerAppWidget broadcastIntent}}
  ELAPSED #0: Alarm{42e6a6a8 type 3 com.android.phone}
    type=3 whenElapsed=28831128 when=+7h57m43s98ms window=-1 repeatInterval=28800000 count=0
    operation=PendingIntent{42f9b7f8: PendingIntentRecord{4297bd30 com.android.phone broadcastIntent}}
Batch{42e82600 num=5 start=57571276 end=57571276}:
  RTC_WAKEUP #4: Alarm{42e4f120 type 0 com.whatsapp}
    type=0 whenElapsed=57571276 when=+15h56m43s245ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{42e30980: PendingIntentRecord{42e26720 com.whatsapp broadcastIntent}}
  RTC_WAKEUP #3: Alarm{42e588c8 type 0 com.google.android.gms}
    type=0 whenElapsed=49296586 when=+13h38m48s555ms window=-1 repeatInterval=86400000 count=0
    operation=PendingIntent{42fcfe90: PendingIntentRecord{43004220 com.google.android.gms startService}}
  RTC_WAKEUP #2: Alarm{42e593e0 type 0 com.viber.voip}
    type=0 whenElapsed=43292852 when=+11h58m44s822ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{42dfa1f0: PendingIntentRecord{42e8a350 com.viber.voip broadcastIntent}}
  RTC #1: Alarm{42e5d968 type 1 com.handcent.nextsms}
    type=1 whenElapsed=43274170 when=+11h58m26s140ms window=0 repeatInterval=43200000 count=0
    operation=PendingIntent{42ba1e18: PendingIntentRecord{431bff48 com.handcent.nextsms startService}}
  RTC_WAKEUP #0: Alarm{42e61778 type 0 com.sec.esdk.elm}
    type=0 whenElapsed=43232000 when=+11h57m43s970ms window=-1 repeatInterval=86400000 count=0
    operation=PendingIntent{42adfb48: PendingIntentRecord{430076f8 com.sec.esdk.elm broadcastIntent}}
Batch{42e4d828 num=3 start=79346016 end=79346016}:
  RTC_WAKEUP #2: Alarm{42e3c890 type 0 com.android.providers.calendar}
    type=0 whenElapsed=79346016 when=+21h59m37s986ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{42bb50e8: PendingIntentRecord{42e7c9d8 com.android.providers.calendar broadcastIntent}}
  RTC_WAKEUP #1: Alarm{42e3cb50 type 0 com.google.android.gms}
    type=0 whenElapsed=74216425 when=+20h34m8s395ms window=-1 repeatInterval=85048835 count=0
    operation=PendingIntent{42844fa8: PendingIntentRecord{431afe98 com.google.android.gms startService}}
  RTC_WAKEUP #0: Alarm{42e4efa8 type 0 com.google.android.gms}
    type=0 whenElapsed=69819125 when=+19h20m51s94ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{421c16c8: PendingIntentRecord{420f9570 com.google.android.gms broadcastIntent}}
Batch{42e4d850 num=1 start=86371275 end=86371275 STANDALONE}:
  RTC #0: Alarm{42e36f70 type 1 android}
    type=1 whenElapsed=86371275 when=+23h56m43s245ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{4211b020: PendingIntentRecord{420d99b8 android broadcastIntent}}
Batch{42e34180 num=3 start=86478691 end=86478691}:
  RTC #2: Alarm{42e28f20 type 1 com.facebook.katana}
    type=1 whenElapsed=86478691 when=+23h58m30s661ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{431075a8: PendingIntentRecord{430e2d70 com.facebook.katana broadcastIntent}}
  RTC #1: Alarm{42e2b3a0 type 1 com.google.android.gms}
    type=1 whenElapsed=86465481 when=+23h58m17s451ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{42ea7910: PendingIntentRecord{42e9f3b8 com.google.android.gms broadcastIntent}}
  ELAPSED_WAKEUP #0: Alarm{42e34200 type 2 com.google.android.gms}
    type=2 whenElapsed=86435679 when=+23h57m47s649ms window=-1 repeatInterval=86400000 count=0
    operation=PendingIntent{42bb49c8: PendingIntentRecord{42bb14a8 com.google.android.gms broadcastIntent}}
Batch{42dc6d48 num=1 start=86501842 end=86501842}:
  RTC #0: Alarm{430f6c70 type 1 com.facebook.orca}
    type=1 whenElapsed=86501842 when=+23h58m53s812ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{420914a8: PendingIntentRecord{4307e868 com.facebook.orca broadcastIntent}}
Batch{42dd5428 num=1 start=86503014 end=151303014}:
  RTC_WAKEUP #0: Alarm{42dd53d0 type 0 com.cleanmaster.security}
    type=0 whenElapsed=86503014 when=+23h58m54s984ms window=-1 repeatInterval=86400000 count=0
    operation=PendingIntent{43147080: PendingIntentRecord{42d63b00 com.cleanmaster.security broadcastIntent}}
Batch{42e341a8 num=4 start=639476147 end=854064723}:
  RTC_WAKEUP #3: Alarm{42e13c28 type 0 com.sec.android.fotaclient}
    type=0 whenElapsed=639476147 when=+7d9h35m8s117ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{428ea340: PendingIntentRecord{431c1bc0 com.sec.android.fotaclient broadcastIntent}}
  RTC_WAKEUP #2: Alarm{42e186b8 type 0 com.google.android.partnersetup}
    type=0 whenElapsed=604857185 when=+6d23h58m9s155ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{42ea69a0: PendingIntentRecord{42dad028 com.google.android.partnersetup startService}}
  RTC_WAKEUP #1: Alarm{42e18760 type 0 com.google.android.gms}
    type=0 whenElapsed=549158275 when=+6d8h29m50s244ms window=-1 repeatInterval=549635000 count=0
    operation=PendingIntent{42e1bfa0: PendingIntentRecord{42c502b8 com.google.android.gms broadcastIntent}}
  RTC_WAKEUP #0: Alarm{42e27b70 type 0 com.google.android.gms}
    type=0 whenElapsed=488080632 when=+5d15h31m52s601ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{42eb34f8: PendingIntentRecord{42eb1a20 com.google.android.gms broadcastIntent}}
Batch{42e0ad00 num=1 start=864098192 end=1512095453}:
  ELAPSED #0: Alarm{42e13b68 type 3 android}
    type=3 whenElapsed=864098192 when=+9d23h58m50s162ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{428c3a28: PendingIntentRecord{4312d7a0 android broadcastIntent}}
Batch{42e0ad28 num=2 start=1827423111 end=3197913201}:
  ELAPSED_WAKEUP #1: Alarm{42df8998 type 2 com.google.android.gms}
    type=2 whenElapsed=1827423111 when=+21d3h34m15s81ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{430b3cb0: PendingIntentRecord{430901c8 com.google.android.gms startService}}
  ELAPSED_WAKEUP #0: Alarm{42e02c20 type 2 com.google.android.gms}
    type=2 whenElapsed=1827422619 when=+21d3h34m14s589ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{42d72578: PendingIntentRecord{42d48a38 com.google.android.gms startService}}
 
Last edited:

pat99

Senior Member
Dec 4, 2013
657
413
Dortmund
I have the same problem. Before rooting my phone the battery held for 22hours... now its like 5 :/ im dying here. Please help.

Code:
Batch{43036f60 num=3 start=178904 end=197336}:
  RTC_WAKEUP #2: Alarm{4300b568 type 0 com.google.android.gms}
    type=0 whenElapsed=153345 when=-14s685ms window=-1 repeatInterval=1800000 count=0    operation=PendingIntent{42e58708: PendingIntentRecord{430c1708 com.google.android.gms broadcastIntent}}
  ELAPSED_WAKEUP #1: Alarm{42fc65d0 type 2 com.google.android.gms}
    type=2 whenElapsed=178904 when=+10s874ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{4332c2f0: PendingIntentRecord{42876898 com.google.android.gms broadcastIntent}}
  ELAPSED #0: Alarm{430389f0 type 3 com.devexpert.weather}
    type=3 whenElapsed=152336 when=-15s694ms window=-1 repeatInterval=60000 count=0
    operation=PendingIntent{42710d98: PendingIntentRecord{43205a78 com.devexpert.weather broadcastIntent}}
Batch{43036f88 num=1 start=198657 end=198657}:
  ELAPSED_WAKEUP #0: Alarm{42fbf9f8 type 2 com.facebook.katana}
    type=2 whenElapsed=198657 when=+30s627ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{42fe1440: PendingIntentRecord{42eb7088 com.facebook.katana broadcastIntent}}
Batch{42e929e8 num=1 start=211275 end=211275 STANDALONE}:
  ELAPSED #0: Alarm{431cab18 type 3 android}
    type=3 whenElapsed=211275 when=+43s245ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{42117b78: PendingIntentRecord{420f4848 android broadcastIntent}}
Batch{42fa8710 num=2 start=221790 end=221790}:
  ELAPSED_WAKEUP #1: Alarm{42f9b4f8 type 2 com.facebook.orca}
    type=2 whenElapsed=221790 when=+53s760ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{4287ef88: PendingIntentRecord{43147d08 com.facebook.orca broadcastIntent}}
  ELAPSED_WAKEUP #0: Alarm{42faab18 type 2 com.google.android.gms}
    type=2 whenElapsed=207304 when=+39s274ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{42681578: PendingIntentRecord{42d0fe58 com.google.android.gms broadcastIntent}}
Batch{42fa8738 num=3 start=900000 end=900000}:
  RTC_WAKEUP #2: Alarm{42f84090 type 0 com.viber.voip}
    type=0 whenElapsed=900000 when=+12m11s970ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{42e0f4e0: PendingIntentRecord{431a7300 com.viber.voip broadcastIntent}}
  ELAPSED_WAKEUP #1: Alarm{42f8b388 type 2 com.facebook.katana}
    type=2 whenElapsed=900000 when=+12m11s970ms window=1 repeatInterval=900000 count=0
    operation=PendingIntent{42d417a0: PendingIntentRecord{43041628 com.facebook.katana broadcastIntent}}
  ELAPSED #0: Alarm{42f8f158 type 3 android}
    type=3 whenElapsed=816430 when=+10m48s400ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{42d37d68: PendingIntentRecord{42d38998 android broadcastIntent}}
Batch{42f78078 num=4 start=2065363 end=3176630}:
  RTC_WAKEUP #3: Alarm{42f60e10 type 0 com.android.vending}
    type=0 whenElapsed=2065363 when=+31m37s333ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{430e3690: PendingIntentRecord{42fc7d28 com.android.vending startService}}
  ELAPSED #2: Alarm{42f75778 type 3 com.google.android.gms}
    type=3 whenElapsed=1887474 when=+28m39s444ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{4284ec68: PendingIntentRecord{431aedb8 com.google.android.gms broadcastIntent}}
  ELAPSED_WAKEUP #1: Alarm{42f760a0 type 2 android}
    type=2 whenElapsed=1847772 when=+27m59s742ms window=-1 repeatInterval=1800000 count=0
    operation=PendingIntent{42e4cc10: PendingIntentRecord{42e023c0 android broadcastIntent}}
  ELAPSED #0: Alarm{42f7f318 type 3 android}
    type=3 whenElapsed=1826630 when=+27m38s600ms window=-1 repeatInterval=1800000 count=0
    operation=PendingIntent{42f66030: PendingIntentRecord{42f66530 android broadcastIntent}}
Batch{42f780a0 num=1 start=3571275 end=3571275}:
  RTC #0: Alarm{42f5ff10 type 1 com.cleanmaster.security}
    type=1 whenElapsed=3571275 when=+56m43s245ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{4261fe48: PendingIntentRecord{42ead4e8 com.cleanmaster.security broadcastIntent}}
Batch{42eb2288 num=1 start=3600000 end=3600001}:
  ELAPSED #0: Alarm{42ec7340 type 3 com.whatsapp}
    type=3 whenElapsed=3600000 when=+57m11s970ms window=1 repeatInterval=3600000 count=0
    operation=PendingIntent{42ad1118: PendingIntentRecord{42ad10e0 com.whatsapp broadcastIntent}}
Batch{42eb22b0 num=1 start=3764062 end=6688625}:
  RTC_WAKEUP #0: Alarm{42eaf278 type 0 android}
    type=0 whenElapsed=3764062 when=+59m56s32ms window=-1 repeatInterval=3899418 count=0
    operation=PendingIntent{42fcf3f8: PendingIntentRecord{43019720 android broadcastIntent}}
Batch{42c25b40 num=1 start=7302875 end=7302875}:
  RTC #0: Alarm{42d78f38 type 1 com.cleanmaster.security}
    type=1 whenElapsed=7302875 when=+1h58m54s845ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{42f7a028: PendingIntentRecord{42ec6cc8 com.cleanmaster.security broadcastIntent}}
Batch{42eaaad8 num=1 start=10843032 end=10843032}:
  RTC #0: Alarm{42eaabb0 type 1 com.cleanmaster.security}
    type=1 whenElapsed=10843032 when=+2h57m55s1ms window=0 repeatInterval=10800000 count=0
    operation=PendingIntent{42ba76e8: PendingIntentRecord{42e54910 com.cleanmaster.security broadcastIntent}}
Batch{42eaab00 num=2 start=15848200 end=15848200}:
  RTC_WAKEUP #1: Alarm{42e9ffb0 type 0 com.cleanmaster.security}
    type=0 whenElapsed=15848200 when=+4h21m20s170ms window=0 repeatInterval=15805543 count=0
    operation=PendingIntent{42fa4c30: PendingIntentRecord{42ba6fd8 com.cleanmaster.security startService}}
  RTC #0: Alarm{43035cc8 type 1 com.cleanmaster.security}
    type=1 whenElapsed=14502673 when=+3h58m54s643ms window=0 repeatInterval=14400000 count=0
    operation=PendingIntent{42e28a38: PendingIntentRecord{42e274a0 com.cleanmaster.security broadcastIntent}}
Batch{42e825d8 num=3 start=43171275 end=43171275}:
  RTC_WAKEUP #2: Alarm{42e8a260 type 0 com.whatsapp}
    type=0 whenElapsed=43171275 when=+11h56m43s245ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{42d2c6d0: PendingIntentRecord{42d5a868 com.whatsapp broadcastIntent}}
  RTC #1: Alarm{42e69808 type 1 com.sec.android.widgetapp.SPlannerAppWidget}
    type=1 whenElapsed=43171275 when=+11h56m43s245ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{42e2d2b0: PendingIntentRecord{4320dfd0 com.sec.android.widgetapp.SPlannerAppWidget broadcastIntent}}
  ELAPSED #0: Alarm{42e6a6a8 type 3 com.android.phone}
    type=3 whenElapsed=28831128 when=+7h57m43s98ms window=-1 repeatInterval=28800000 count=0
    operation=PendingIntent{42f9b7f8: PendingIntentRecord{4297bd30 com.android.phone broadcastIntent}}
Batch{42e82600 num=5 start=57571276 end=57571276}:
  RTC_WAKEUP #4: Alarm{42e4f120 type 0 com.whatsapp}
    type=0 whenElapsed=57571276 when=+15h56m43s245ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{42e30980: PendingIntentRecord{42e26720 com.whatsapp broadcastIntent}}
  RTC_WAKEUP #3: Alarm{42e588c8 type 0 com.google.android.gms}
    type=0 whenElapsed=49296586 when=+13h38m48s555ms window=-1 repeatInterval=86400000 count=0
    operation=PendingIntent{42fcfe90: PendingIntentRecord{43004220 com.google.android.gms startService}}
  RTC_WAKEUP #2: Alarm{42e593e0 type 0 com.viber.voip}
    type=0 whenElapsed=43292852 when=+11h58m44s822ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{42dfa1f0: PendingIntentRecord{42e8a350 com.viber.voip broadcastIntent}}
  RTC #1: Alarm{42e5d968 type 1 com.handcent.nextsms}
    type=1 whenElapsed=43274170 when=+11h58m26s140ms window=0 repeatInterval=43200000 count=0
    operation=PendingIntent{42ba1e18: PendingIntentRecord{431bff48 com.handcent.nextsms startService}}
  RTC_WAKEUP #0: Alarm{42e61778 type 0 com.sec.esdk.elm}
    type=0 whenElapsed=43232000 when=+11h57m43s970ms window=-1 repeatInterval=86400000 count=0
    operation=PendingIntent{42adfb48: PendingIntentRecord{430076f8 com.sec.esdk.elm broadcastIntent}}
Batch{42e4d828 num=3 start=79346016 end=79346016}:
  RTC_WAKEUP #2: Alarm{42e3c890 type 0 com.android.providers.calendar}
    type=0 whenElapsed=79346016 when=+21h59m37s986ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{42bb50e8: PendingIntentRecord{42e7c9d8 com.android.providers.calendar broadcastIntent}}
  RTC_WAKEUP #1: Alarm{42e3cb50 type 0 com.google.android.gms}
    type=0 whenElapsed=74216425 when=+20h34m8s395ms window=-1 repeatInterval=85048835 count=0
    operation=PendingIntent{42844fa8: PendingIntentRecord{431afe98 com.google.android.gms startService}}
  RTC_WAKEUP #0: Alarm{42e4efa8 type 0 com.google.android.gms}
    type=0 whenElapsed=69819125 when=+19h20m51s94ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{421c16c8: PendingIntentRecord{420f9570 com.google.android.gms broadcastIntent}}
Batch{42e4d850 num=1 start=86371275 end=86371275 STANDALONE}:
  RTC #0: Alarm{42e36f70 type 1 android}
    type=1 whenElapsed=86371275 when=+23h56m43s245ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{4211b020: PendingIntentRecord{420d99b8 android broadcastIntent}}
Batch{42e34180 num=3 start=86478691 end=86478691}:
  RTC #2: Alarm{42e28f20 type 1 com.facebook.katana}
    type=1 whenElapsed=86478691 when=+23h58m30s661ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{431075a8: PendingIntentRecord{430e2d70 com.facebook.katana broadcastIntent}}
  RTC #1: Alarm{42e2b3a0 type 1 com.google.android.gms}
    type=1 whenElapsed=86465481 when=+23h58m17s451ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{42ea7910: PendingIntentRecord{42e9f3b8 com.google.android.gms broadcastIntent}}
  ELAPSED_WAKEUP #0: Alarm{42e34200 type 2 com.google.android.gms}
    type=2 whenElapsed=86435679 when=+23h57m47s649ms window=-1 repeatInterval=86400000 count=0
    operation=PendingIntent{42bb49c8: PendingIntentRecord{42bb14a8 com.google.android.gms broadcastIntent}}
Batch{42dc6d48 num=1 start=86501842 end=86501842}:
  RTC #0: Alarm{430f6c70 type 1 com.facebook.orca}
    type=1 whenElapsed=86501842 when=+23h58m53s812ms window=0 repeatInterval=0 count=0
    operation=PendingIntent{420914a8: PendingIntentRecord{4307e868 com.facebook.orca broadcastIntent}}
Batch{42dd5428 num=1 start=86503014 end=151303014}:
  RTC_WAKEUP #0: Alarm{42dd53d0 type 0 com.cleanmaster.security}
    type=0 whenElapsed=86503014 when=+23h58m54s984ms window=-1 repeatInterval=86400000 count=0
    operation=PendingIntent{43147080: PendingIntentRecord{42d63b00 com.cleanmaster.security broadcastIntent}}
Batch{42e341a8 num=4 start=639476147 end=854064723}:
  RTC_WAKEUP #3: Alarm{42e13c28 type 0 com.sec.android.fotaclient}
    type=0 whenElapsed=639476147 when=+7d9h35m8s117ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{428ea340: PendingIntentRecord{431c1bc0 com.sec.android.fotaclient broadcastIntent}}
  RTC_WAKEUP #2: Alarm{42e186b8 type 0 com.google.android.partnersetup}
    type=0 whenElapsed=604857185 when=+6d23h58m9s155ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{42ea69a0: PendingIntentRecord{42dad028 com.google.android.partnersetup startService}}
  RTC_WAKEUP #1: Alarm{42e18760 type 0 com.google.android.gms}
    type=0 whenElapsed=549158275 when=+6d8h29m50s244ms window=-1 repeatInterval=549635000 count=0
    operation=PendingIntent{42e1bfa0: PendingIntentRecord{42c502b8 com.google.android.gms broadcastIntent}}
  RTC_WAKEUP #0: Alarm{42e27b70 type 0 com.google.android.gms}
    type=0 whenElapsed=488080632 when=+5d15h31m52s601ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{42eb34f8: PendingIntentRecord{42eb1a20 com.google.android.gms broadcastIntent}}
Batch{42e0ad00 num=1 start=864098192 end=1512095453}:
  ELAPSED #0: Alarm{42e13b68 type 3 android}
    type=3 whenElapsed=864098192 when=+9d23h58m50s162ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{428c3a28: PendingIntentRecord{4312d7a0 android broadcastIntent}}
Batch{42e0ad28 num=2 start=1827423111 end=3197913201}:
  ELAPSED_WAKEUP #1: Alarm{42df8998 type 2 com.google.android.gms}
    type=2 whenElapsed=1827423111 when=+21d3h34m15s81ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{430b3cb0: PendingIntentRecord{430901c8 com.google.android.gms startService}}
  ELAPSED_WAKEUP #0: Alarm{42e02c20 type 2 com.google.android.gms}
    type=2 whenElapsed=1827422619 when=+21d3h34m14s589ms window=-1 repeatInterval=0 count=0
    operation=PendingIntent{42d72578: PendingIntentRecord{42d48a38 com.google.android.gms startService}}

Well before Rooting means you were on Sense 3.0 Gingerbread 2.3.5 Official build from HTC,which highly optimized for the Performance and Stability. On other hand what you're looking is AOSP Roms, which made from Source. So it solely depends on which Rom you're using and how stable it is when it comes to performance.

If you're on latest CM11 or CM12 builds then don't expect much because running such with 4yr old device is challenge itself. Have to sacrifice on that, there is no way around. But if you're on JB than there're some Roms which are stable yet equally performed well. So if you're not happy then use Stock Rooted Rom and get your 22hrs back.

I hope that i've explained it, the way you suppose to understand, If not then try digging more on tread to get your appropriate answer. :)
 
  • Like
Reactions: marknoll

zbysogi

Senior Member
Jan 25, 2015
130
7
thats kinda weird because Ive got 1year old phone S4 mini duos I9291 on KitKat 4.4.2 (since it came out) and that log is from that device.
 
Last edited:

timetoupgrade

New member
Oct 31, 2010
1
0
Tab 3 awake 100% of the time

I have a rooted Sprint Galaxy Tab 3 running stock 4.4.2, and it's awake pretty much 100% of the time (I have it in airplane mode and the tablet stays awake regardless of where WiFi or GPS is on or off). BetterBatteryStats shows 96% under PowerManagerService.WakeLocks, and 81% Partial Wakelocks under AlarmManager. So pretty much exactly what others are seeing. But nothing jumps out as the culprit in the alarm stats (attached). Can anyone see what I'm clearly not seeing? Thanks in advance for any help you can provide.
 

Attachments

  • AlarmDump(3).txt
    37.3 KB · Views: 43

marknoll

Senior Member
May 13, 2014
2,932
300
You'll need Greenify donate ver for system app but still not all system app work. Anyway, Greenify is really a great tool for the paid ver.

You can't avoid all wakeup, some apps need it. But I found some interesting in your dump file.
27 alarms: act=android.content.syncmanager.SYNC_ALARM flg=0x14
com.android.settings
4031501ms running, 78322 wakeups

Is that the content syncmanager? It's easy to solve the problem, just go to PlayStore download the AutoRun Manager and enable system app in settings. It's an app for AlarmDump.txt, you can find android.content.syncmanager.SYNC_ALARM and disable it in AutoRun Manager.
How about turning sync off?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    Connect your phone to a computer and run this:

    Code:
    adb shell dumpsys alarm > AlarmDump.txt

    or download GScript lite and create the following script:
    Code:
    cd /sdcard
    dumpsys alarm > AlarmDump.txt

    Note that you probably need root access for the GScript to work. The AlarmDump.txt file will be on your sdcard root directory.
    6
    It can cause drain, but its not the AlarmManager in it self that is causing it, its the other apps that use it. Other apps use it to wake up on specific times or intervals, like if you have a weather widget that needs updating every 30 min or an application that checks your location every x min etc. Here are parts of my own AlarmManager dump and you might get the idea what I mean:

    Code:
      Alarm Stats:
      com.google.android.gsf
        20993ms running, 75 wakeups
        4 alarms: act=com.google.android.intent.action.GTALK_RECONNECT flg=0x4
        42 alarms: flg=0x4
        29 alarms: act=com.google.android.intent.action.GTALK_HEARTBEAT flg=0x4
    
      se.f1nally.snowstorm
        547ms running, 11 wakeups
        11 alarms: act=se.f1nally.yrvader.UPDATE_ALL flg=0x4 cmp=se.f1nally.snowstorm/.UpdateService
    
      com.mobitobi.android.gentlealarm
        2128ms running, 11 wakeups
        11 alarms: act=com.mobitobi.android.gentlealarm.ALARM_ALERT flg=0x4
    
      com.jb.gosms
        45ms running, 1 wakeups
        1 alarms: act=com.jb.schedule.private.box flg=0x4
    
      com.blizzard.bma
        2061402ms running, 0 wakeups
        2611 alarms: act=android.appwidget.action.APPWIDGET_UPDATE flg=0x4
    
      android
        809072ms running, 281 wakeups
        1 alarms: act=android.intent.action.DATE_CHANGED flg=0x20000004
        9 alarms: act=com.android.internal.policy.impl.PhoneWindowManager.DELAYED_KEYGUARD flg=0x4
        1138 alarms: act=android.intent.action.TIME_TICK flg=0x40000004
        123 alarms: act=com.android.server.ThrottleManager.action.POLL flg=0x4
        19 alarms: act=android.app.backup.intent.RUN flg=0x40000004
        80 alarms: act=android.appwidget.action.APPWIDGET_UPDATE flg=0x4
        173 alarms: act=android.content.syncmanager.SYNC_ALARM flg=0x4
    
      com.liato.bankdroid
        443ms running, 6 wakeups
        6 alarms: flg=0x4 cmp=com.liato.bankdroid/.appwidget.AutoRefreshService
    
      com.google.android.apps.maps
        804ms running, 43 wakeups
        43 alarms: flg=0x4 cmp=com.google.android.apps.maps/com.google.googlenav.prefetch.android.PrefetcherService
    
      com.viber.voip
        164775ms running, 618 wakeups
        617 alarms: act=com.viber.voip.action.KEEP_ALIVE_RECEIVE flg=0x4
        1 alarms: act=com.viber.voip.action.VERSION_CHECK flg=0x4
    
      net.dinglisch.android.tasker
        14114ms running, 104 wakeups
        90 alarms: act=net.dinglisch.android.tasker.ANOFFCHECKORUM flg=0x4
        14 alarms: act=net.dinglisch.android.tasker.ALARUM flg=0x4
    
      de.devmil.minimaltext
        6619ms running, 0 wakeups
        64 alarms: act=updatetasker dat=minimaltextwidget://widget/id/updatetasker flg=0x4 cmp=de.devmil.minimaltext/.MinimalTextUpdateService
        249 alarms: act=update dat=minimaltextwidget://widget/id/update flg=0x4 cmp=de.devmil.minimaltext/.MinimalTextUpdateService
        59 alarms: act=forceupdate dat=minimaltextwidget://widget/id/forceupdate flg=0x4 cmp=de.devmil.minimaltext/.MinimalTextUpdateService
        3 alarms: act= dat=minimaltextwidget:/weather/ flg=0x4 cmp=de.devmil.minimaltext/.weather.WeatherUpdateService
        3 alarms: act=ForceUpdate dat=minimaltextwidget:/weather/ForceUpdate flg=0x4 cmp=de.devmil.minimaltext/.weather.WeatherUpdateService
    
      org.koxx.pure_calendar
        29ms running, 5 wakeups
        5 alarms: act=org.koxx.pure_calendar.UPDATE_ALL flg=0x4 cmp=org.koxx.pure_calendar/.UpdateService
    
      com.bigtincan.android.adfree
        11231ms running, 1 wakeups
        1 alarms: flg=0x4

    It is part of the android os so thats why I dont think you can uninstall it. See this page for dev info on AlarmManager.
    3
    It is not really advisable to uninstall AlarmManager since it is used by a lot of applications and by android itself. Not sure you even can uninstall it.

    ANywas, getting that dump file I mentioned above will show you what app was causing the most wakeups, and then you can take actions from there.
    2
    Try installing startup cleaner 2 or similar to stop it starting at boot. Or uninstall it :p

    Sent from my Desire HD using XDA Premium App
    1
    Connect your phone to a computer and run this:

    Code:
    adb shell dumpsys alarm > AlarmDump.txt

    or download GScript lite and create the following script:
    Code:
    cd /sdcard
    dumpsys alarm > AlarmDump.txt

    Note that you probably need root access for the GScript to work. The AlarmDump.txt file will be on your sdcard root directory.

    where can i find the AlarmDump.txt on my computer?