Closed asksven closed 12 years ago
Log from 1.10.3 with more logging info. The log shows that only the entries present in the reference are ubstracted (up to >>>) and the entries being present in the "current" stat but not in the reference are skipped.
!!! found the entries after >>> all do not qualify as they have times < 1000 ms (1second) and therefore fail (if ( (!bFilter) || ((wl.getDuration()/1000) > 0) ). Added more logging to document that.
Processing wakelocks since Since Screen off(5)
Reference used: Reference since_screen_off created 19 h 16 m 47 s (Wl: 16 elements; KWl: 33elements; NetS: 60 elements; Alrm: 19 elements; Proc: 9 elements; Oth: 7 elements; CPU: 19 elements)
It is now 2012-09-02 10:10:02
Substracting [ Wakelock [m_wakeType=0, m_name=AudioOut_1, m_duration=296067], Wakelock [m_wakeType=0, m_name=ActivityManager-Launch, m_duration=61151], Wakelock [m_wakeType=0, m_name=AlarmManager, m_duration=50051], Wakelock [m_wakeType=0, m_name=BBS_WAKELOCK_WHILE_SAVING_REF, m_duration=31571], Wakelock [m_wakeType=0, m_name=SCREEN_FROZEN, m_duration=11720], Wakelock [m_wakeType=0, m_name=sendinactive, m_duration=11690], Wakelock [m_wakeType=0, m_name=3gwp.ServiceLifeCheckr, m_duration=10100], Wakelock [m_wakeType=0, m_name=sleep_broadcast, m_duration=7462], Wakelock [m_wakeType=0, m_name=DownloadManager, m_duration=7106], Wakelock [m_wakeType=0, m_name=_sync__gmail-ls_Account {name=EM, type=com.google}, m_duration=3994], Wakelock [m_wakeType=0, m_name=GmailProviderProviderChangedBroadcastWakeLock, m_duration=3144], Wakelock [m_wakeType=0, m_name=AWS NW Stats, m_duration=3122], Wakelock [m_wakeType=0, m_name=NetworkStats, m_duration=2531], Wakelock [m_wakeType=0, m_name=PhoneWindowManager.mBroadcastWakeLock, m_duration=2307], Wakelock [m_wakeType=0, m_name=FacebookService, m_duration=1928], Wakelock [m_wakeType=0, m_name=show keyguard, m_duration=1914]]
from [ Wakelock [m_wakeType=0, m_name=AudioOut_1, m_duration=296067], Wakelock [m_wakeType=0, m_name=ActivityManager-Launch, m_duration=61151], Wakelock [m_wakeType=0, m_name=AlarmManager, m_duration=50051], Wakelock [m_wakeType=0, m_name=BBS_WAKELOCK_WHILE_SAVING_REF, m_duration=31571], Wakelock [m_wakeType=0, m_name=SCREEN_FROZEN, m_duration=11720], Wakelock [m_wakeType=0, m_name=sendinactive, m_duration=11690], Wakelock [m_wakeType=0, m_name=3gwp.ServiceLifeCheckr, m_duration=10100]] Wakelock [m_wakeType=0, m_name=sleep_broadcast, m_duration=7462], Wakelock [m_wakeType=0, m_name=DownloadManager, m_duration=7106], Wakelock [m_wakeType=0, m_name=_sync__gmail-ls_Account {name=EM, type=com.google}, m_duration=3994], Wakelock [m_wakeType=0, m_name=GmailProviderProviderChangedBroadcastWakeLock, m_duration=3144], Wakelock [m_wakeType=0, m_name=AWS NW Stats, m_duration=3122], Wakelock [m_wakeType=0, m_name=NetworkStats, m_duration=2531], Wakelock [m_wakeType=0, m_name=PhoneWindowManager.mBroadcastWakeLock, m_duration=2307], Wakelock [m_wakeType=0, m_name=FacebookService, m_duration=1928], Wakelock [m_wakeType=0, m_name=show keyguard, m_duration=1914],
Wakelock [m_wakeType=0, m_name=SyncManagerHandleSyncAlarm, m_duration=21], Wakelock [m_wakeType=0, m_name=reset keyguard, m_duration=149], Wakelock [m_wakeType=0, m_name=NotificationService, m_duration=186], Wakelock [m_wakeType=0, m_name=keyguardWakeAndHandOff, m_duration=328], Wakelock [m_wakeType=0, m_name=keyguard, m_duration=50], Wakelock [m_wakeType=0, m_name=ActivityManager-Sleep, m_duration=169], Wakelock [m_wakeType=0, m_name=SyncLoopWakeLock, m_duration=110], Wakelock [m_wakeType=0, m_name=RILJ, m_duration=737], Wakelock [m_wakeType=0, m_name=NfcService, m_duration=7], Wakelock [m_wakeType=0, m_name=Event Log Service, m_duration=28], Wakelock [m_wakeType=0, m_name=GTALK_IDLE_ALARM, m_duration=9], Wakelock [m_wakeType=0, m_name=GTALK_CONN, m_duration=485], Wakelock [m_wakeType=0, m_name=Event Log Handoff, m_duration=37], Wakelock [m_wakeType=0, m_name=GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint, m_duration=421], Wakelock [m_wakeType=0, m_name=GOOGLE_C2DM, m_duration=71], Wakelock [m_wakeType=0, m_name=AsyncService, m_duration=99], Wakelock [m_wakeType=0, m_name=b, m_duration=3], Wakelock [m_wakeType=0, m_name=window, m_duration=0], Wakelock [m_wakeType=0, m_name=window, m_duration=0], Wakelock [m_wakeType=0, m_name=M, m_duration=615], Wakelock [m_wakeType=0, m_name=com.sensorly.ViewerApplication@41a27c50, m_duration=115], Wakelock [m_wakeType=0, m_name=window, m_duration=0],
Substraction Wakelock [m_wakeType=0, m_name=AudioOut_1, m_duration=296067] from Wakelock [m_wakeType=0, m_name=AudioOut_1, m_duration=296067] Result: Wakelock [m_wakeType=0, m_name=AudioOut_1, m_duration=0]
Substraction Wakelock [m_wakeType=0, m_name=ActivityManager-Launch, m_duration=61151] from Wakelock [m_wakeType=0, m_name=ActivityManager-Launch, m_duration=61151] Result: Wakelock [m_wakeType=0, m_name=ActivityManager-Launch, m_duration=0]
Substraction Wakelock [m_wakeType=0, m_name=AlarmManager, m_duration=50051] from Wakelock [m_wakeType=0, m_name=AlarmManager, m_duration=50051] Result: Wakelock [m_wakeType=0, m_name=AlarmManager, m_duration=0]
Substraction Wakelock [m_wakeType=0, m_name=BBS_WAKELOCK_WHILE_SAVING_REF, m_duration=31571] from Wakelock [m_wakeType=0, m_name=BBS_WAKELOCK_WHILE_SAVING_REF, m_duration=31571] Result: Wakelock [m_wakeType=0, m_name=BBS_WAKELOCK_WHILE_SAVING_REF, m_duration=0]
Substraction Wakelock [m_wakeType=0, m_name=SCREEN_FROZEN, m_duration=11720] from Wakelock [m_wakeType=0, m_name=SCREEN_FROZEN, m_duration=11720] Result: Wakelock [m_wakeType=0, m_name=SCREEN_FROZEN, m_duration=0]
Substraction Wakelock [m_wakeType=0, m_name=sendinactive, m_duration=11690] from Wakelock [m_wakeType=0, m_name=sendinactive, m_duration=11690] Result: Wakelock [m_wakeType=0, m_name=sendinactive, m_duration=0]
Substraction Wakelock [m_wakeType=0, m_name=3gwp.ServiceLifeCheckr, m_duration=10100] from Wakelock [m_wakeType=0, m_name=3gwp.ServiceLifeCheckr, m_duration=10100] Result: Wakelock [m_wakeType=0, m_name=3gwp.ServiceLifeCheckr, m_duration=0]
Substraction Wakelock [m_wakeType=0, m_name=sleep_broadcast, m_duration=7462] from Wakelock [m_wakeType=0, m_name=sleep_broadcast, m_duration=7462] Result: Wakelock [m_wakeType=0, m_name=sleep_broadcast, m_duration=0]
Substraction Wakelock [m_wakeType=0, m_name=DownloadManager, m_duration=7106] from Wakelock [m_wakeType=0, m_name=DownloadManager, m_duration=7106] Result: Wakelock [m_wakeType=0, m_name=DownloadManager, m_duration=0]
Substraction Wakelock [m_wakeType=0, m_name=_syncgmail-ls_Account {name=EM, type=com.google}, m_duration=3994] from Wakelock [m_wakeType=0, m_name=_sync__gmail-ls_Account {name=EM, type=com.google}, m_duration=3994] Result: Wakelock [m_wakeType=0, m_name=_syncgmail-ls_Account {name=EM, type=com.google}, m_duration=0]
Substraction Wakelock [m_wakeType=0, m_name=GmailProviderProviderChangedBroadcastWakeLock, m_duration=3144] from Wakelock [m_wakeType=0, m_name=GmailProviderProviderChangedBroadcastWakeLock, m_duration=3144] Result: Wakelock [m_wakeType=0, m_name=GmailProviderProviderChangedBroadcastWakeLock, m_duration=0]
Substraction Wakelock [m_wakeType=0, m_name=AWS NW Stats, m_duration=3122] from Wakelock [m_wakeType=0, m_name=AWS NW Stats, m_duration=3122] Result: Wakelock [m_wakeType=0, m_name=AWS NW Stats, m_duration=0]
Substraction Wakelock [m_wakeType=0, m_name=NetworkStats, m_duration=2531] from Wakelock [m_wakeType=0, m_name=NetworkStats, m_duration=2531] Result: Wakelock [m_wakeType=0, m_name=NetworkStats, m_duration=0]
Substraction Wakelock [m_wakeType=0, m_name=PhoneWindowManager.mBroadcastWakeLock, m_duration=2307] from Wakelock [m_wakeType=0, m_name=PhoneWindowManager.mBroadcastWakeLock, m_duration=2307] Result: Wakelock [m_wakeType=0, m_name=PhoneWindowManager.mBroadcastWakeLock, m_duration=0]
Substraction Wakelock [m_wakeType=0, m_name=FacebookService, m_duration=1928] from Wakelock [m_wakeType=0, m_name=FacebookService, m_duration=1928] Result: Wakelock [m_wakeType=0, m_name=FacebookService, m_duration=0]
Substraction Wakelock [m_wakeType=0, m_name=show keyguard, m_duration=1914] from Wakelock [m_wakeType=0, m_name=show keyguard, m_duration=1914] Result: Wakelock [m_wakeType=0, m_name=show keyguard, m_duration=0]
Result has 0 entries Result []
Not a bug (see prev comment)
Processing wakelocks since Since Screen off(5)
[ 08-27 08:30:20.775 17256:0x4368 D/StatsProvider ]
Reference used: Reference since_screen_off created 10 h 58 m 12 s (Wl: 53 elements; KWl: 30elements; NetS: 41 elements; Alrm: 18 elements; Proc: [com.facebook.katana [Wakeups: 189], com.sec.spp.push [Wakeups: 133], com.google.android.gsf [Wakeups: 73], ccc71.bmw.pro [Wakeups: 68], android [Wakeups: 62], net.dinglisch.android.taskerm [Wakeups: 53], com.whatsapp [Wakeups: 21], com.avast.android.mobilesecurity [Wakeups: 12], com.google.android.apps.maps [Wakeups: 10], net.tsapps.appsales [Wakeups: 2], net.rgruet.android.g3watchdogpro [Wakeups: 1], com.google.android.youtube [Wakeups: 1], com.sec.android.fotaclient [Wakeups: 1], com.android.vending [Wakeups: 1], com.android.providers.calendar [Wakeups: 1], com.muzurisana.birthdayfree [Wakeups: 1], com.akproduction.notepad [Wakeups: 1], com.sec.android.sCloudRelayData [Wakeups: 1]] elements; Oth: 11 elements; CPU: 19 elements)
[ 08-27 08:30:20.775 17256:0x4368 D/StatsProvider ]
It is now 2012-08-27 08:30:20
[ 08-27 08:30:20.775 17256:0x4368 D/StatsProvider ]
Substracting [Wakelock [m_wakeType=0, m_name=AudioOut_1, m_duration=1355895], Wakelock [m_wakeType=0, m_name=AWS NW Stats, m_duration=581588], Wakelock [m_wakeType=0, m_name=AlarmManager, m_duration=316334], Wakelock [m_wakeType=0, m_name=3gwp.ServiceLifeCheckr, m_duration=198736], Wakelock [m_wakeType=0, m_name=NetworkStats, m_duration=161043], Wakelock [m_wakeType=0, m_name=Sleep, m_duration=128825], Wakelock [m_wakeType=0, m_name=ActivityManager-Launch, m_duration=102166], Wakelock [m_wakeType=0, m_name=BBS_WAKELOCK_WHILE_SAVING_REF, m_duration=98818], Wakelock [m_wakeType=0, m_name=CoreReceiver getWakeLock, m_duration=92908], Wakelock [m_wakeType=0, m_name=CoreReceiver getWakeLock, m_duration=90150], Wakelock [m_wakeType=0, m_name=sleep_broadcast, m_duration=85598], Wakelock [m_wakeType=0, m_name=GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint, m_duration=58273], Wakelock [m_wakeType=0, m_name=DHCP, m_duration=54828], Wakelock [m_wakeType=0, m_name=RILJ, m_duration=53679], Wakelock [m_wakeType=0, m_name=GSM, m_duration=41777], Wakelock [m_wakeType=0, m_name=_synccom.android.contacts_Account {name=EM, type=com.osp.app.signin}, m_duration=31730], Wakelock [m_wakeType=0, m_name=FacebookService, m_duration=28989], Wakelock [m_wakeType=0, m_name=RILS, m_duration=25915], Wakelock [m_wakeType=0, m_name=_syncsubscribedfeeds_Account {name=EM, type=com.google}, m_duration=25464], Wakelock [m_wakeType=0, m_name=ConnectivityService, m_duration=25367], Wakelock [m_wakeType=0, m_name=sendinactive, m_duration=23992], Wakelock [m_wakeType=0, m_name=PhoneWindowManager.mBroadcastWakeLock, m_duration=21733], Wakelock [m_wakeType=0, m_name=cpu_lck, m_duration=19360], Wakelock [m_wakeType=0, m_name=SCREEN_FROZEN, m_duration=16769], Wakelock [m_wakeType=0, m_name=3gwp.Service, m_duration=13161], Wakelock [m_wakeType=0, m_name=GpsLocationProvider, m_duration=9250], Wakelock [m_wakeType=0, m_name=SyncLoopWakeLock, m_duration=8948], Wakelock [m_wakeType=0, m_name=show keyguard, m_duration=8750], Wakelock [m_wakeType=0, m_name=CoreService execute, m_duration=8024], Wakelock [m_wakeType=0, m_name=Checkin Service, m_duration=7412], Wakelock [m_wakeType=0, m_name=CoreService execute, m_duration=5732], Wakelock [m_wakeType=0, m_name=reset keyguard, m_duration=4608], Wakelock [m_wakeType=0, m_name=M, m_duration=4535], Wakelock [m_wakeType=0, m_name=Event Log Service, m_duration=4440], Wakelock [m_wakeType=0, m_name=_syncorg.mozilla.firefox.db.browser_Account {name=EM, type=org.mozilla.firefox_sync}, m_duration=4437], Wakelock [m_wakeType=0, m_name=GTALK_CONN, m_duration=4030], Wakelock [m_wakeType=0, m_name=_syncgmail-ls_Account {name=EM, type=com.google}, m_duration=3318], Wakelock [m_wakeType=0, m_name=com.sensorly.ViewerApplication@41a21b88, m_duration=3233], Wakelock [m_wakeType=0, m_name=_synccom.android.calendar_Account {name=EM, type=com.google}, m_duration=2913], Wakelock [m_wakeType=0, m_name=com.sensorly.ViewerApplication@41a1ef20, m_duration=2049], Wakelock [m_wakeType=0, m_name=PhoneApp, m_duration=1920], Wakelock [m_wakeType=0, m_name=LocationManagerService, m_duration=1919], Wakelock [m_wakeType=0, m_name=StartingAlertService, m_duration=1893], Wakelock [m_wakeType=0, m_name=com.sensorly.ViewerApplication@41a23400, m_duration=1759], Wakelock [m_wakeType=0, m_name=NfcService, m_duration=1738], Wakelock [m_wakeType=0, m_name=E, m_duration=1707], Wakelock [m_wakeType=0, m_name=ActivityManager-Sleep, m_duration=1609], Wakelock [m_wakeType=0, m_name=com.sensorly.ViewerApplication@41a209d8, m_duration=1609], Wakelock [m_wakeType=0, m_name=SMSDispatcher, m_duration=1567], Wakelock [m_wakeType=0, m_name=keyguardWakeAndHandOff, m_duration=1510], Wakelock [m_wakeType=0, m_name=com.sensorly.ViewerApplication@41a24258, m_duration=1461], Wakelock [m_wakeType=0, m_name=_synccom.android.contacts_Account {name=EM, type=com.google}, m_duration=1091], Wakelock [m_wakeType=0, m_name=com.sensorly.ViewerApplication@41a1e128, m_duration=1022]]
[ 08-27 08:30:20.775 17256:0x4368 D/StatsProvider ]
from [Wakelock [m_wakeType=0, m_name=show keyguard, m_duration=8750], Wakelock [m_wakeType=0, m_name=WiredAccessoryObserver, m_duration=8], Wakelock [m_wakeType=0, m_name=Proximity Partial, m_duration=354], Wakelock [m_wakeType=0, m_name=NetworkStats, m_duration=161043], Wakelock [m_wakeType=0, m_name=ActivityManager-Launch, m_duration=102166], Wakelock [m_wakeType=0, m_name=PhoneWindowManager.mBroadcastWakeLock, m_duration=21733], Wakelock [m_wakeType=0, m_name=ShutdownThread-cpu, m_duration=21], Wakelock [m_wakeType=0, m_name=GpsLocationProvider, m_duration=9250], Wakelock [m_wakeType=0, m_name=sleep_broadcast, m_duration=85598], Wakelock [m_wakeType=0, m_name=SCREEN_FROZEN, m_duration=16769], Wakelock [m_wakeType=0, m_name=reset keyguard, m_duration=4608], Wakelock [m_wakeType=0, m_name=DHCP, m_duration=54828], Wakelock [m_wakeType=0, m_name=StartingAlertService, m_duration=54], Wakelock [m_wakeType=0, m_name=WifiStateMachine, m_duration=468], Wakelock [m_wakeType=0, m_name=AlarmManager, m_duration=316334], Wakelock [m_wakeType=0, m_name=keyguard, m_duration=316], Wakelock [m_wakeType=0, m_name=ConnectivityService, m_duration=25367], Wakelock [m_wakeType=0, m_name=SyncLoopWakeLock, m_duration=8948], Wakelock [m_wakeType=0, m_name=LocationManagerService, m_duration=1919], Wakelock [m_wakeType=0, m_name=PreventScreenOn Partial, m_duration=691], Wakelock [m_wakeType=0, m_name=ShutdownThread-screen, m_duration=0], Wakelock [m_wakeType=0, m_name=SyncManagerHandleSyncAlarm, m_duration=389], Wakelock [m_wakeType=0, m_name=statusbar, m_duration=0], Wakelock [m_wakeType=0, m_name=window, m_duration=0], Wakelock [m_wakeType=0, m_name=PowerUI, m_duration=0], Wakelock [m_wakeType=0, m_name=NotificationService, m_duration=512], Wakelock [m_wakeType=0, m_name=keyguardWakeAndHandOff, m_duration=1510], Wakelock [m_wakeType=0, m_name=ActivityManager-Sleep, m_duration=1609], Wakelock [m_wakeType=0, m_name=SMSDispatcher, m_duration=1567], Wakelock [m_wakeType=0, m_name=PhoneApp, m_duration=1920], Wakelock [m_wakeType=0, m_name=window, m_duration=1], Wakelock [m_wakeType=0, m_name=GSM, m_duration=41777], Wakelock [m_wakeType=0, m_name=RILJ, m_duration=53679], Wakelock [m_wakeType=0, m_name=AudioOut_1, m_duration=1355895], Wakelock [m_wakeType=0, m_name=NfcService, m_duration=1738], Wakelock [m_wakeType=0, m_name=window, m_duration=0], Wakelock [m_wakeType=0, m_name=SystemUpdateService, m_duration=118], Wakelock [m_wakeType=0, m_name=_synccom.android.browser_Account {name=EM, type=com.google}, m_duration=0], Wakelock [m_wakeType=0, m_name=GOOGLE_C2DM, m_duration=17], Wakelock [m_wakeType=0, m_name=_syncsubscribedfeeds_Account {name=EM, type=com.google}, m_duration=25464], Wakelock [m_wakeType=0, m_name=Event Log Service, m_duration=4440], Wakelock [m_wakeType=0, m_name=Checkin Handoff, m_duration=165], Wakelock [m_wakeType=0, m_name=GTALK_IDLE_ALARM, m_duration=68], Wakelock [m_wakeType=0, m_name=_synccom.android.contacts_Account {name=EM, type=com.google}, m_duration=1091], Wakelock [m_wakeType=0, m_name=GTALK_CONN, m_duration=4030], Wakelock [m_wakeType=0, m_name=Event Log Handoff, m_duration=250], Wakelock [m_wakeType=0, m_name=GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint, m_duration=58273], Wakelock [m_wakeType=0, m_name=Checkin Service, m_duration=7412], Wakelock [m_wakeType=0, m_name=AlarmReceiver, m_duration=793], Wakelock [m_wakeType=0, m_name=MediaScannerService, m_duration=813], Wakelock [m_wakeType=0, m_name=DownloadManager, m_duration=0], Wakelock [m_wakeType=0, m_name=_syncgmail-ls_Account {name=EM, type=com.google}, m_duration=3318], Wakelock [m_wakeType=0, m_name=GmailProviderProviderChangedBroadcastWakeLock, m_duration=727], Wakelock [m_wakeType=0, m_name=_synccom.android.calendar_Account {name=EM, type=com.google}, m_duration=2913], Wakelock [m_wakeType=0, m_name=window, m_duration=0], Wakelock [m_wakeType=0, m_name=AsyncService, m_duration=0], Wakelock [m_wakeType=0, m_name=_synccom.google.android.apps.plus.content.EsGooglePhotoProvider_Account {name
[ 08-27 08:30:20.785 17256:0x4368 D/StatsProvider ]
Result []