[Q] troublesome alarms - Android Q&A, Help & Troubleshooting

ok I know we can't remove alarmmanager because is part of system, but some behaviors are idiotic
After I recharged my phone I check battery and statistics with battery monitor widget
first 4 hours only eats 5%
wakelocks android system/alarmmanager had only 4 or 8
in some time after this android eats battery excessively
10 hours 37%
wakelocks android system/alammanager had 200+
I have greenify for skype face navigator
google apps (except gmail) and samsung trashes uninstalled with titanium backup
data, wifi, bt,gps and rotate off (I only turn on when I need some...)
many services disabled with autostart disabler (redundant XD )
dump of alarm give me this
Code:
Current Alarm Manager state:
Realtime wakeup (now=2014-08-21 11:27:01):
RTC_WAKEUP #4: Alarm{423efd98 type 0 com.sec.android.app.clockpackage}
type=0 when=+21h42m58s793ms repeatInterval=0 count=0
operation=PendingIntent{423efd18: PendingIntentRecord{423efc78 com.sec.android.app.clockpackage broadcastIntent}}
RTC_WAKEUP #3: Alarm{420dc790 type 0 com.sec.android.app.clockpackage}
type=0 when=+21h42m58s793ms repeatInterval=0 count=0
operation=PendingIntent{420dc710: PendingIntentRecord{420dc670 com.sec.android.app.clockpackage broadcastIntent}}
RTC_WAKEUP #2: Alarm{42252fe8 type 0 com.sec.android.app.clockpackage}
type=0 when=+21h42m38s793ms repeatInterval=0 count=0
operation=PendingIntent{42252f68: PendingIntentRecord{42252e78 com.sec.android.app.clockpackage broadcastIntent}}
RTC_WAKEUP #1: Alarm{4245a4c0 type 0 com.sec.android.app.clockpackage}
type=0 when=+21h42m38s793ms repeatInterval=0 count=0
operation=PendingIntent{420dc9c0: PendingIntentRecord{4245a3b0 com.sec.android.app.clockpackage broadcastIntent}}
RTC_WAKEUP #0: Alarm{41ebf518 type 0 android}
type=0 when=+8m2s392ms repeatInterval=3697267 count=1
operation=PendingIntent{41d7c9d0: PendingIntentRecord{422197f8 android broadcastIntent}}
RTC #2: Alarm{4200b440 type 1 com.estrongs.android.taskmanager}
type=1 when=+12h33m35s18ms repeatInterval=86400000 count=1
operation=PendingIntent{4200b3c0: PendingIntentRecord{4200b2d0 com.estrongs.android.taskmanager broadcastIntent}}
RTC #1: Alarm{420c4588 type 1 com.kk.launcher}
type=1 when=+12h2m54s37ms repeatInterval=86400000 count=0
operation=PendingIntent{41dd0a90: PendingIntentRecord{4219d990 com.kk.launcher startService}}
RTC #0: Alarm{41f5a6a8 type 1 android}
type=1 when=+32m58s793ms repeatInterval=0 count=0
operation=PendingIntent{41d1e068: PendingIntentRecord{4220ed20 android broadcastIntent}}
Elapsed realtime wakeup (now=+12h12m5s990ms):
ELAPSED_WAKEUP #4: Alarm{41fbfa28 type 2 android}
type=2 when=+20m0s913ms repeatInterval=0 count=0
operation=PendingIntent{41d179b0: PendingIntentRecord{41fbf918 android broadcastIntent}}
ELAPSED_WAKEUP #3: Alarm{420b4830 type 2 android}
type=2 when=+18m4s927ms repeatInterval=0 count=0
operation=PendingIntent{420321a0: PendingIntentRecord{420f9818 android broadcastIntent}}
ELAPSED_WAKEUP #2: Alarm{42091018 type 2 android}
type=2 when=+15m45s488ms repeatInterval=0 count=0
operation=PendingIntent{42026c28: PendingIntentRecord{41f8bea0 android broadcastIntent}}
ELAPSED_WAKEUP #1: Alarm{421005f8 type 2 android}
type=2 when=+12m12s841ms repeatInterval=0 count=0
operation=PendingIntent{41bb9510: PendingIntentRecord{42109978 android broadcastIntent}}
ELAPSED_WAKEUP #0: Alarm{41d60d58 type 2 android}
type=2 when=+10m33s436ms repeatInterval=0 count=0
operation=PendingIntent{4214f928: PendingIntentRecord{41e2d400 android broadcastIntent}}
ELAPSED #4: Alarm{421fd5f0 type 3 com.android.phone}
type=3 when=+4h2m54s10ms repeatInterval=28800000 count=1
operation=PendingIntent{41dd7180: PendingIntentRecord{41f72048 com.android.phone broadcastIntent}}
ELAPSED #3: Alarm{42331880 type 3 android}
type=3 when=+6m26s93ms repeatInterval=0 count=0
operation=PendingIntent{41ee8130: PendingIntentRecord{4221a2f0 android broadcastIntent}}
ELAPSED #2: Alarm{421a7670 type 3 android}
type=3 when=+2m54s10ms repeatInterval=1800000 count=1
operation=PendingIntent{421a7330: PendingIntentRecord{421a7290 android broadcastIntent}}
ELAPSED #1: Alarm{423277c8 type 3 android}
type=3 when=+58s766ms repeatInterval=0 count=0
operation=PendingIntent{41d45120: PendingIntentRecord{4220ebf8 android broadcastIntent}}
ELAPSED #0: Alarm{42182c48 type 3 ccc71.bmw}
type=3 when=+15s438ms repeatInterval=60000 count=1
operation=PendingIntent{420b1d80: PendingIntentRecord{41f43710 ccc71.bmw broadcastIntent}}
Broadcast ref count: 0
Alarm Stats:
android
50384ms running, 15 wakeups
4 alarms: act=com.android.internal.policy.impl.PhoneWindowManager.DELAYED_KEYGUARD flg=0x14
200 alarms: act=android.intent.action.TIME_TICK flg=0x40000014
24 alarms: act=com.android.server.action.NETWORK_STATS_POLL flg=0x14
58 alarms: act=com.android.server.ThrottleManager.action.POLL flg=0x14
11 alarms: act=android.app.backup.intent.RUN flg=0x40000014
com.android.vending
5ms running, 2 wakeups
2 alarms: flg=0x4 cmp=com.android.vending/com.google.android.finsky.services.DailyHygiene
com.sec.android.app.clockpackage
601ms running, 2 wakeups
1 alarms: act=com.samsung.sec.android.clockpackage.alarm.ALARM_ALERT flg=0x14
1 alarms: act=com.samsung.sec.android.clockpackage.alarm.NOTIFY_ALARM_LOCATION flg=0x14
com.android.phone
133ms running, 0 wakeups
1 alarms: act=com.android.phone.UPDATE_CALLER_INFO_CACHE flg=0x14
com.estrongs.android.taskmanager
420ms running, 0 wakeups
2 alarms: flg=0x14
ccc71.bmw
1210ms running, 0 wakeups
60 alarms: flg=0x10000014
it's seems in this code lays the key to delete or expand the delay of the alarms http://android-er.blogspot.com/2011/05/cancel-alarm-using-alarmmanagercancelpe.html
I'm not an expert in android but I think is possible
have a nice day

I have an idea
Code:
RTC_WAKEUP #4: Alarm{423efd98 type 0 com.sec.android.app.clockpackage}
after "alarm" we can see a alphanumeric code (maybe the alarm ID) and the guilty app
so if we could got this parameters from dumpsys in some android app and extract the class from guilty app
we could use this code:
Code:
Intent intent = new Intent(this, ¿class?.class);
PendingIntent pendingIntent = PendingIntent.getBroadcast(
this.getApplicationContext(),¿id?, intent, 0);
AlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);
alarmManager.cancel(pendingIntent);
and kill those alarms and save battery

Related

Tasker - can't get set widget icon to work

I am using the lastest Unnamed ROM with Go Launcher EX. I am trying to create the following widget to toggle on and off Lock Screen. Eveything seems to work except the Set Widget Icon command. Any ideas?
Action 1
Display > Keyguard
Set toggle
Action 2
Tasker > Set Widget Icon
Name: Keyguard
Icon: Green check mark
If: %KEYG matches on
Action 3
Tasker > Set Widget Icon
Name: Keyguard
Icon: Red X
If: %KEYG matches off
Action 4
Alert > Notify
Title: Keyguard enabled
Icon: Green check mark
Number: 0
Permanent: Unchecked
If: %KEYG matches on
Action 5
Alert > Notify
Title: Keyguard disabled
Icon: Red X
Number: 0
Permanent: Unchecked
If: %KEYG matches off
Action 6
Tasker > Wait
Seconds: 1
Action 7
Alert > Notify Cancel
Title: Keyguard enabled
If: %KEYG matches on
Action 8
Alert > Notify Cancel
Title: Keyguard disabled
If: %KEYG matches off

[Q] Prime nightlife activity? strange logs...

Good morning all,
My prime is running rather well, especially, no issue at all with the battery (decrease of about 1% per hour in sleep, and about 10% in use...)...
However, while playing with system-tuner, I looked at the log it proposes and I was very suprised to see a lot of activity going on at night, especially also a lot of warning and error.
Could anyone tell me whether it is android normal life (I am new on android) and if there is something going on that could be corrected?
Here are some extract of my log for this night (I can PM full file if needed)
Thanks for your info....
Some alarm triggering
Code:
Added alarm Alarm{41c30ca0 type 0 uk.co.senab.blueNotifyFree} type:RTC_WAKEUP when: At 23/02/12 02:39
D/02:29:11.470 AlarmManager( 192)
Triggered Alarm 4192e038 RTC_WAKEUP IntentSender{41709d28: PendingIntentRecord{419242c0 uk.co.senab.blueNotifyFree broadcastIntent}}
D/02:29:08.000 AlarmManager( 192)
Triggered Alarm 418858d8 RTC_WAKEUP IntentSender{4146a5b8: PendingIntentRecord{413c4bb8 com.levelup.touiteur broadcastIntent}}
D/02:29:08.000 AlarmManager( 192)
Added alarm Alarm{418858d8 type 0 com.levelup.touiteur} type:RTC_WAKEUP when: At 23/02/12 02:44 repeatInterval: 0h:15m:0.0s
D/02:20:55.500 AlarmManager( 192)
Added alarm Alarm{41d3c940 type 2 com.google.android.gsf} type:ELAPSED_REALTIME_WAKEUP when: After 0h:14m:59.0s
D/02:20:55.500 AlarmManager( 192)
Removed alarm Alarm{41853008 type 2 com.google.android.gsf} type:ELAPSED_REALTIME_WAKEUP
D/02:20:55.450 AlarmManager( 192)
Added alarm Alarm{41853008 type 2 com.google.android.gsf} type:ELAPSED_REALTIME_WAKEUP when: After 0h:0m:59.0s
D/02:20:55.410 AlarmManager( 192)
Triggered Alarm 416c4410 ELAPSED_REALTIME_WAKEUP IntentSender{4179d618: PendingIntentRecord{41903530 com.google.android.gsf broadcastIntent}}
W/02:19:27.930 ThrottleService( 192)
unable to find stats for iface rmnet0
D/02:19:11.480 AlarmManager( 192)
Added alarm Alarm{4192e038 type 0 uk.co.senab.blueNotifyFree} type:RTC_WAKEUP when: At 23/02/12 02:29
D/02:19:09.540 AlarmManager( 192)
Triggered Alarm 41822668 RTC_WAKEUP IntentSender{417f8388: PendingIntentRecord{419242c0 uk.co.senab.blueNotifyFree broadcastIntent}}
D/02:15:28.430 AlarmManager( 192)
Added alarm Alarm{41633f10 type 2 com.android.email} type:ELAPSED_REALTIME_WAKEUP when: After 0h:14m:2.0s
D/02:15:28.430 AlarmManager( 192)
Removed alarm Alarm{4165da98 type 2 com.android.email} type:ELAPSED_REALTIME_WAKEUP
D/02:15:27.940 AlarmManager( 192)
Added alarm Alarm{4165da98 type 2 com.android.email} type:ELAPSED_REALTIME_WAKEUP when: After 0h:9m:59.0s
D/02:15:27.890 AlarmManager( 192)
Triggered Alarm 413dc118 ELAPSED_REALTIME_WAKEUP IntentSender{418072b0: PendingIntentRecord{41816ba0 com.android.email startService}}
D/02:14:45.260 AlarmManager( 192)
Triggered Alarm 417626b8 ELAPSED_REALTIME_WAKEUP IntentSender{4182ff30: PendingIntentRecord{41795b38 android broadcastIntent}}
D/02:14:45.250 AlarmManager( 192)
Triggered Alarm 416b6cb0 ELAPSED_REALTIME_WAKEUP IntentSender{4183e9b8: PendingIntentRecord{416b6c10 android broadcastIntent}}
D/02:14:45.250 AlarmManager( 192)
Added alarm Alarm{417626b8 type 2 android} type:ELAPSED_REALTIME_WAKEUP when: After 0h:59m:59.0s repeatInterval: 1h:0m:0.0s
D/02:14:45.240 AlarmManager( 192)
Added alarm Alarm{416b6cb0 type 2 android} type:ELAPSED_REALTIME_WAKEUP when: After 0h:29m:59.0s repeatInterval: 0h:30m:0.0s
D/02:14:08.000 AlarmManager( 192)
Triggered Alarm 418858d8 RTC_WAKEUP IntentSender{417c6540: PendingIntentRecord{413c4bb8 com.levelup.touiteur broadcastIntent}}
D/02:14:08.000 AlarmManager( 192)
Added alarm Alarm{418858d8 type 0 com.levelup.touiteur} type:RTC_WAKEUP when: At 23/02/12 02:29 repeatInterval: 0h:15m:0.0s
D/02:13:54.140 AlarmManager( 192)
Added alarm Alarm{413dc118 type 2 com.android.email} type:ELAPSED_REALTIME_WAKEUP when: After 0h:1m:33.0s
D/02:13:54.140 AlarmManager( 192)
Removed alarm Alarm{417a10e8 type 2 com.android.email} type:ELAPSED_REALTIME_WAKEUP
D/02:13:50.800 AlarmManager( 192)
Added alarm Alarm{417a10e8 type 2 com.android.email} type:ELAPSED_REALTIME_WAKEUP when: After 0h:9m:59.0s
V/--- beginnin f /dev/log/system
Some kind of error it seems
Code:
W/02:29:27.950 ThrottleService( 192)
unable to find stats for iface rmnet0
W/02:29:18.590 ActivityThread(26936)
ClassLoader.getResources: The class loader returned by Thread.getContextClassLoader() may fail for processes that host multiple applications. You should explicitly specify a context class loader. For example: Thread.setContextClassLoader(getClass().getClassLoader());
I/02:29:18.500 ActivityManager( 192)
Start proc com.asus.cm for service com.asus.cm/.push.PushService: pid=26936 uid=1000 gids={3003, 1015, 3002, 3001, 3007}
W/02:29:13.430 ActivityManager( 192)
Scheduling restart of crashed service com.asus.cm/.CMService in 15000ms
W/02:29:13.430 ActivityManager( 192)
Scheduling restart of crashed service com.asus.cm/.push.PushService in 5000ms
I/02:29:13.420 ActivityManager( 192)
No longer want com.asus.cm (pid 26352): hidden #16
Code:
I/02:34:05.140 ActivityManager( 192)
Start proc com.nvidia.NvCPLSvc for service com.nvidia.NvCPLSvc/.NvCPLService: pid=27033 uid=1000 gids={3003, 1015, 3002, 3001, 3007}
W/02:34:00.090 ActivityManager( 192)
Scheduling restart of crashed service com.nvidia.NvCPLSvc/.NvCPLService in 5000ms
I/02:34:00.010 ActivityManager( 192)
No longer want com.nvidia.NvCPLSvc (pid 26749): hidden #16
I/02:33:25.190 ActivityManager( 192)
Start proc com.asus.dm for service com.asus.dm/.DMService: pid=27017 uid=1000 gids={3003, 1015, 3002, 3001, 3007}
I/02:33:15.200 ActivityManager( 192)
Start proc com.latedroid.juicedefender for service com.latedroid.juicedefender/.Service: pid=27003 uid=10083 gids={3003}
W/02:33:06.570 ActivityManager( 192)
Scheduling restart of crashed service com.asus.dm/.DMService in 18574ms
I/02:33:06.550 ActivityManager( 192)
No longer want com.asus.dm (pid 26719): hidden #16
I/02:33:06.340 ActivityManager( 192)
Start proc com.google.android.gsf.login for service com.google.android.gsf.login/com.google.android.gsf.loginservice.GoogleLoginService: pid=26973 uid=10029 gids={3003, 1015, 1007, 2001, 3006}
D/02:33:05.700 ActivityThread(26960)
Loading provider com.maxmpz.audioplayer: com.maxmpz.audioplayer.unlock.DataProvider
I/02:33:05.190 ActivityManager( 192)
Start proc com.maxmpz.audioplayer for service com.maxmpz.audioplayer/.player.HeadsetMicroService: pid=26960 uid=10089 gids={1015, 3003}
W/02:33:00.220 ActivityManager( 192)
Scheduling restart of crashed service com.latedroid.juicedefender/.Service in 14923ms
I/02:33:00.160 WindowManager( 192)
WIN DEATH: null
W/02:33:00.160 WindowManager( 192)
at dalvik.system.NativeStart.run(Native Method)
W/02:33:00.160 WindowManager( 192)
at android.os.BinderProxy.sendDeathNotice(Binder.java:417)
W/02:33:00.160 WindowManager( 192)
at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1529)
W/02:33:00.160 WindowManager( 192)
at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7147)
W/02:33:00.160 WindowManager( 192)
at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7156)
W/02:33:00.160 WindowManager( 192)
java.lang.IllegalArgumentException: Requested window [email protected] does not exist
W/02:33:00.160 WindowManager( 192)
Failed looking up window
W/02:33:00.150 ActivityManager( 192)
Scheduling restart of crashed service com.maxmpz.audioplayer/.player.HeadsetMicroService in 5000ms
W/02:33:00.140 WindowManager( 192)
Force-removing child win Window{4189d9c0 SurfaceView paused=false} from container Window{4185f790 com.maxmpz.audioplayer/com.maxmpz.audioplayer.PlayerUIActivity paused=false}
W/02:33:00.140 WindowManager( 192)
Force-removing child win Window{416dc598 AtchDlg:com.maxmpz.audioplayer/com.maxmpz.audioplayer.PlayerUIActivity paused=false} from container Window{4185f790 com.maxmpz.audioplayer/com.maxmpz.audioplayer.PlayerUIActivity paused=false}
I/02:33:00.130 WindowManager( 192)
WIN DEATH: Window{4185f790 com.maxmpz.audioplayer/com.maxmpz.audioplayer.PlayerUIActivity paused=false}
I/02:33:00.010 ActivityManager( 192)
No longer want com.latedroid.juicedefender (pid 26433): hidden #17
I/02:33:00.010 ActivityManager( 192)
No longer want com.maxmpz.audioplayer (pid 25719): hidden #16
in the log, there are 1 to 20 lines each minute...

[Q] i9100 running hot and losing battery fast

Hi people!
My Galaxy S2 i9100 is turning 3 years old soon and today it started something pretty strange.
The device gets extremely hot (not the battery though) and runs from 100% charge to 0% in only 3 hours !
When checking on the CPU the clockspeed never drops below 800MHz and most of the time it stays at 1200MHz.
BetterBatteryStats says that some Alarm-Wakelock is causing the issue.
I tried making a dumpfile, i've read that in some old post that i actually didn't want to resurrect, but here's the link: http://forum.xda-developers.com/showthread.php?t=1212671
Here's my dump file ...
Dump file said:
Current Alarm Manager state:
nowRTC=1406832463384=2014-07-31 20:47:43 nowELAPSED=928788
Next alarm: 945405 = 2014-07-31 20:48:00
Next wakeup: 1071725 = 2014-07-31 20:50:06
Pending alarm batches: 22
Batch{65587ee8 num=1 start=945405 end=945405 STANDALONE}:
ELAPSED #0: Alarm{6557fa48 type 3 android}
type=3 whenElapsed=945405 when=+16s617ms window=0 repeatInterval=0 count=0
operation=PendingIntent{64fbbc10: PendingIntentRecord{651a7490 android broadcastIntent}}
Batch{65566750 num=2 start=1071725 end=1152273}:
RTC #1: Alarm{65550268 type 1 com.touchtype.swiftkey}
type=1 whenElapsed=1051997 when=+2m3s208ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{64d9fc70: PendingIntentRecord{654c4838 com.touchtype.swiftkey broadcastIntent}}
ELAPSED_WAKEUP #0: Alarm{65568868 type 2 com.google.android.gms}
type=2 whenElapsed=1071725 when=+2m22s937ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{65799428: PendingIntentRecord{6555a6b0 com.google.android.gms broadcastIntent}}
Batch{6567d698 num=1 start=1197530 end=1406957}:
ELAPSED_WAKEUP #0: Alarm{6557f9f8 type 2 com.google.android.gms}
type=2 whenElapsed=1197530 when=+4m28s742ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{656ac750: PendingIntentRecord{654bf410 com.google.android.gms broadcastIntent}}
Batch{655667b8 num=1 start=1646409 end=1646409}:
ELAPSED_WAKEUP #0: Alarm{655502b8 type 2 android}
type=2 whenElapsed=1646409 when=+11m57s621ms window=0 repeatInterval=0 count=0
operation=PendingIntent{652c74b8: PendingIntentRecord{652399b8 android broadcastIntent}}
Batch{65528720 num=1 start=1666405 end=1666405}:
RTC #0: Alarm{6551a150 type 1 com.android.deskclock}
type=1 whenElapsed=1666405 when=+12m17s616ms window=0 repeatInterval=0 count=0
operation=PendingIntent{654a5c00: PendingIntentRecord{655272c0 com.android.deskclock broadcastIntent}}
Batch{655191f0 num=3 start=2325249 end=2325249}:
RTC #2: Alarm{654a7020 type 1 android}
type=1 whenElapsed=2325249 when=+23m16s460ms window=0 repeatInterval=0 count=0
operation=PendingIntent{64cb7108: PendingIntentRecord{651e9b90 android broadcastIntent}}
RTC #1: Alarm{651bbb78 type 1 com.google.android.gms}
type=1 whenElapsed=1912669 when=+16m23s880ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{654345e0: PendingIntentRecord{65619d50 com.google.android.gms broadcastIntent}}
ELAPSED #0: Alarm{655191a0 type 3 android}
type=3 whenElapsed=1830301 when=+15m1s513ms window=-1 repeatInterval=1800000 count=0
operation=PendingIntent{653e8b30: PendingIntentRecord{6547a518 android broadcastIntent}}
Batch{65519218 num=9 start=3812342 end=3916492}:
RTC_WAKEUP #8: Alarm{65371270 type 0 android}
type=0 whenElapsed=3812342 when=+48m3s554ms window=-1 repeatInterval=3854392 count=0
operation=PendingIntent{64f61f98: PendingIntentRecord{6536de20 android broadcastIntent}}
RTC_WAKEUP #7: Alarm{65371220 type 0 com.cyanogenmod.lockclock}
type=0 whenElapsed=3690189 when=+46m1s401ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{65535a60: PendingIntentRecord{65314b38 com.cyanogenmod.lockclock startService}}
RTC_WAKEUP #6: Alarm{653d1768 type 0 com.twitter.android}
type=0 whenElapsed=3647349 when=+45m18s561ms window=-1 repeatInterval=3600000 count=0
operation=PendingIntent{65508a40: PendingIntentRecord{65433bc0 com.twitter.android startService}}
RTC_WAKEUP #5: Alarm{653d1718 type 0 com.google.android.gms}
type=0 whenElapsed=2566492 when=+27m17s704ms window=-1 repeatInterval=1800000 count=0
operation=PendingIntent{6574dfa8: PendingIntentRecord{65645c80 com.google.android.gms broadcastIntent}}
ELAPSED_WAKEUP #4: Alarm{65415a10 type 2 com.google.android.apps.maps}
type=2 whenElapsed=3732412 when=+46m43s624ms window=-1 repeatInterval=3600000 count=0
operation=PendingIntent{64e329a8: PendingIntentRecord{65378590 com.google.android.apps.maps startService}}
ELAPSED #3: Alarm{654159c0 type 3 net.eggenstein.android.calwidget2}
type=3 whenElapsed=3697701 when=+46m8s913ms window=0 repeatInterval=3600000 count=0
operation=PendingIntent{651879a8: PendingIntentRecord{654a63c8 net.eggenstein.android.calwidget2 broadcastIntent}}
ELAPSED_WAKEUP #2: Alarm{65418080 type 2 com.google.android.talk}
type=2 whenElapsed=3693676 when=+46m4s888ms window=-1 repeatInterval=86400000 count=0
operation=PendingIntent{65555080: PendingIntentRecord{6560f4d8 com.google.android.talk broadcastIntent}}
ELAPSED_WAKEUP #1: Alarm{65418030 type 2 android}
type=2 whenElapsed=3682914 when=+45m54s126ms window=-1 repeatInterval=3600000 count=0
operation=PendingIntent{655d6d18: PendingIntentRecord{653c0ec0 android broadcastIntent}}
ELAPSED_WAKEUP #0: Alarm{654a7070 type 2 com.google.android.talk}
type=2 whenElapsed=3670751 when=+45m41s963ms window=-1 repeatInterval=86400000 count=0
operation=PendingIntent{6551a100: PendingIntentRecord{6551a080 com.google.android.talk broadcastIntent}}
Batch{654a72e8 num=1 start=7259556 end=12015501}:
RTC_WAKEUP #0: Alarm{654a7298 type 0 com.google.android.googlequicksearchbox}
type=0 whenElapsed=7259556 when=+1h45m30s768ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{64cb4038: PendingIntentRecord{65639a98 com.google.android.googlequicksearchbox startService}}
Batch{65215f58 num=2 start=12465404 end=12465404}:
RTC_WAKEUP #1: Alarm{65215f08 type 0 com.google.android.keep}
type=0 whenElapsed=12465404 when=+3h12m16s616ms window=0 repeatInterval=0 count=0
operation=PendingIntent{6564e630: PendingIntentRecord{65202e28 com.google.android.keep broadcastIntent}}
RTC #0: Alarm{65213b50 type 1 com.google.android.calendar}
type=1 whenElapsed=12465404 when=+3h12m16s616ms window=0 repeatInterval=0 count=0
operation=PendingIntent{64c2d198: PendingIntentRecord{655041a0 com.google.android.calendar broadcastIntent}}
Batch{651c4790 num=2 start=21222666 end=21222666}:
RTC_WAKEUP #1: Alarm{651bc820 type 0 com.google.android.gms}
type=0 whenElapsed=12794185 when=+3h17m45s396ms window=-1 repeatInterval=86400000 count=0
operation=PendingIntent{655731d0: PendingIntentRecord{6559b428 com.google.android.gms startService}}
ELAPSED_WAKEUP #0: Alarm{651c4740 type 2 com.google.android.gms}
type=2 whenElapsed=21222666 when=+5h38m13s878ms window=0 repeatInterval=0 count=0
operation=PendingIntent{65718198: PendingIntentRecord{65609a68 com.google.android.gms broadcastIntent}}
Batch{6518b778 num=3 start=41507926 end=41507926}:
RTC #2: Alarm{65173ed8 type 1 com.touchtype.swiftkey}
type=1 whenElapsed=37305791 when=+10h6m17s2ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{64d7b1f8: PendingIntentRecord{654cb8b0 com.touchtype.swiftkey broadcastIntent}}
ELAPSED_WAKEUP #1: Alarm{65183410 type 2 android}
type=2 whenElapsed=41507926 when=+11h16m19s138ms window=0 repeatInterval=0 count=0
operation=PendingIntent{65342460: PendingIntentRecord{654c4f80 android broadcastIntent}}
ELAPSED #0: Alarm{6518b728 type 3 com.android.phone}
type=3 whenElapsed=28833089 when=+7h45m4s301ms window=-1 repeatInterval=28800000 count=0
operation=PendingIntent{64d19788: PendingIntentRecord{65552930 com.android.phone broadcastIntent}}
Batch{65518fd8 num=1 start=55665405 end=55665405 STANDALONE}:
RTC #0: Alarm{65173f28 type 1 android}
type=1 whenElapsed=55665405 when=+15h12m16s616ms window=0 repeatInterval=0 count=0
operation=PendingIntent{64fa8f60: PendingIntentRecord{651ac830 android broadcastIntent}}
Batch{65218f00 num=5 start=70484978 end=75682972}:
RTC_WAKEUP #4: Alarm{65687eb8 type 0 com.google.android.gms}
type=0 whenElapsed=70484978 when=+19h19m16s190ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{6552aa30: PendingIntentRecord{655c2b40 com.google.android.gms broadcastIntent}}
RTC_WAKEUP #3: Alarm{655d2f98 type 0 com.google.android.apps.plus}
type=0 whenElapsed=61309180 when=+16h46m20s392ms window=-1 repeatInterval=86400000 count=0
operation=PendingIntent{65722ca0: PendingIntentRecord{655cca18 com.google.android.apps.plus broadcastIntent}}
RTC_WAKEUP #2: Alarm{655d2f48 type 0 com.google.android.gms}
type=0 whenElapsed=46060734 when=+12h32m11s946ms window=-1 repeatInterval=82850402 count=0
operation=PendingIntent{654f44c8: PendingIntentRecord{65545958 com.google.android.gms startService}}
ELAPSED_WAKEUP #1: Alarm{6557ef98 type 2 com.google.android.gms}
type=2 whenElapsed=53995270 when=+14h44m26s482ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{6533ac38: PendingIntentRecord{654b95d0 com.google.android.gms broadcastIntent}}
ELAPSED_WAKEUP #0: Alarm{65218eb0 type 2 android}
type=2 whenElapsed=43282972 when=+11h45m54s184ms window=-1 repeatInterval=43200000 count=0
operation=PendingIntent{65643e78: PendingIntentRecord{6514c960 android broadcastIntent}}
Batch{65218f28 num=1 start=79362411 end=79362411}:
RTC_WAKEUP #0: Alarm{65687f08 type 0 com.android.providers.calendar}
type=0 whenElapsed=79362411 when=+21h47m13s623ms window=0 repeatInterval=0 count=0
operation=PendingIntent{6557e548: PendingIntentRecord{65501b70 com.android.providers.calendar broadcastIntent}}
Batch{6570aa00 num=1 start=82262110 end=82262110}:
RTC_WAKEUP #0: Alarm{6570a9b0 type 0 com.android.vending}
type=0 whenElapsed=82262110 when=+22h35m33s321ms window=0 repeatInterval=0 count=0
operation=PendingIntent{6550cd28: PendingIntentRecord{65502db8 com.android.vending startService}}
Batch{6563a1e8 num=2 start=86493720 end=150675288}:
RTC #1: Alarm{657b6a98 type 1 com.google.android.gms}
type=1 whenElapsed=86493720 when=+23h46m4s931ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{65507a18: PendingIntentRecord{655682b8 com.google.android.gms broadcastIntent}}
ELAPSED #0: Alarm{6563a198 type 3 com.cyanogenmod.account}
type=3 whenElapsed=86454527 when=+23h45m25s739ms window=-1 repeatInterval=86400000 count=0
operation=PendingIntent{654be3f0: PendingIntentRecord{653ce588 com.cyanogenmod.account startService}}
Batch{656a2540 num=3 start=259270781 end=314632797}:
RTC #2: Alarm{655c71a0 type 1 com.runtastic.android.pro2}
type=1 whenElapsed=225513539 when=+2d14h23m4s751ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{651acd58: PendingIntentRecord{656082e8 com.runtastic.android.pro2 broadcastIntent}}
RTC_WAKEUP #1: Alarm{65631810 type 0 com.google.android.gms}
type=0 whenElapsed=180183725 when=+2d1h47m34s936ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{65173510: PendingIntentRecord{6559e1e0 com.google.android.gms broadcastIntent}}
ELAPSED_WAKEUP #0: Alarm{656a24f0 type 2 com.google.android.talk}
type=2 whenElapsed=259270781 when=+2d23h45m41s993ms window=-1 repeatInterval=259200000 count=0
operation=PendingIntent{64b10528: PendingIntentRecord{6520e510 com.google.android.talk broadcastIntent}}
Batch{65443938 num=4 start=490469493 end=510006654}:
RTC #3: Alarm{6572d780 type 1 com.touchtype.swiftkey}
type=1 whenElapsed=490469493 when=+5d15h59m0s704ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{64d9fa68: PendingIntentRecord{654c4320 com.touchtype.swiftkey broadcastIntent}}
RTC #2: Alarm{6554cf20 type 1 com.touchtype.swiftkey}
type=1 whenElapsed=490464500 when=+5d15h58m55s711ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{64da1c60: PendingIntentRecord{654461a8 com.touchtype.swiftkey broadcastIntent}}
RTC #1: Alarm{6554ced0 type 1 com.touchtype.swiftkey}
type=1 whenElapsed=490464496 when=+5d15h58m55s708ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{64da0d80: PendingIntentRecord{65445e20 com.touchtype.swiftkey broadcastIntent}}
ELAPSED_WAKEUP #0: Alarm{655c71f0 type 2 com.google.android.apps.plus}
type=2 whenElapsed=477606654 when=+5d12h24m37s866ms window=-1 repeatInterval=43200000 count=0
operation=PendingIntent{6517dd18: PendingIntentRecord{65543ba0 com.google.android.apps.plus broadcastIntent}}
Batch{653d9360 num=2 start=590206568 end=590206568}:
RTC_WAKEUP #1: Alarm{6564ab50 type 0 com.cyanogenmod.updater}
type=0 whenElapsed=590206568 when=+6d19h41m17s779ms window=0 repeatInterval=604800000 count=0
operation=PendingIntent{65431e98: PendingIntentRecord{652d4d28 com.cyanogenmod.updater startService}}
RTC_WAKEUP #0: Alarm{6572d7d0 type 0 com.google.android.gms}
type=0 whenElapsed=568928144 when=+6d13h46m39s355ms window=-1 repeatInterval=568802000 count=0
operation=PendingIntent{656abd78: PendingIntentRecord{65519f38 com.google.android.gms broadcastIntent}}
Batch{653d93c8 num=2 start=864133636 end=1057812106}:
RTC_WAKEUP #1: Alarm{654bf860 type 0 com.google.android.partnersetup}
type=0 whenElapsed=604857616 when=+6d23h45m28s828ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{64bd5418: PendingIntentRecord{650e7e48 com.google.android.partnersetup startService}}
ELAPSED #0: Alarm{6564aba0 type 3 android}
type=3 whenElapsed=864133636 when=+9d23h46m44s848ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{64df0288: PendingIntentRecord{65395c10 android broadcastIntent}}
Batch{6577d628 num=6 start=1828122235 end=3197312107}:
ELAPSED_WAKEUP #5: Alarm{657026b8 type 2 com.google.android.gms}
type=2 whenElapsed=1828122235 when=+21d3h33m13s447ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{65521a58: PendingIntentRecord{6562ac28 com.google.android.gms startService}}
ELAPSED_WAKEUP #4: Alarm{65702668 type 2 com.google.android.gms}
type=2 whenElapsed=1827430825 when=+21d3h21m42s37ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{6564e640: PendingIntentRecord{6550a0f8 com.google.android.gms startService}}
ELAPSED_WAKEUP #3: Alarm{656413d0 type 2 com.google.android.gms}
type=2 whenElapsed=1827430577 when=+21d3h21m41s789ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{65383bf0: PendingIntentRecord{65526ea0 com.google.android.gms startService}}
ELAPSED_WAKEUP #2: Alarm{65641380 type 2 com.google.android.gms}
type=2 whenElapsed=1827430565 when=+21d3h21m41s777ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{65188670: PendingIntentRecord{6552edc8 com.google.android.gms startService}}
ELAPSED_WAKEUP #1: Alarm{6557e488 type 2 com.google.android.gms}
type=2 whenElapsed=1827430004 when=+21d3h21m41s216ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{654011e8: PendingIntentRecord{6563b718 com.google.android.gms startService}}
ELAPSED_WAKEUP #0: Alarm{654bf8b0 type 2 com.google.android.gms}
type=2 whenElapsed=1827429045 when=+21d3h21m40s257ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{6564e650: PendingIntentRecord{6564db38 com.google.android.gms startService}}
Batch{655c4088 num=1 start=1407001800996 end=2462252463021}:
ELAPSED #0: Alarm{655c4038 type 3 de.stocard.stocard}
type=3 whenElapsed=1407001800996 when=+999d23h59m59s999ms window=-1 repeatInterval=0 count=0
operation=PendingIntent{6544e8d8: PendingIntentRecord{6544e2b8 de.stocard.stocard broadcastIntent}}
Broadcast ref count: 2
Top Alarms:
*ACTIVE* +14m55s377ms running, 0 wakeups, 214744 alarms: com.android.systemui
act=com.cyanogenmod.util.action_quiet_hours
+58s238ms running, 0 wakeups, 3 alarms: com.google.android.gms
cmp={com.google.android.gms/com.google.android.gms.playlog.uploader.UploaderAlarmReceiver}
+46s118ms running, 0 wakeups, 1 alarms: android
act=com.android.server.action.NETWORK_STATS_POLL
+38s895ms running, 7 wakeups, 7 alarms: com.google.android.gms
act=com.google.android.gms.nlp.ALARM_WAKEUP_LOCATOR
+31s661ms running, 2 wakeups, 2 alarms: com.android.providers.calendar
act=com.android.providers.calendar.intent.CalendarProvider2
+23s801ms running, 1 wakeups, 1 alarms: com.google.android.talk
act=com.google.android.apps.babel.RENEW_ACCOUNT_REGISTRATION
+22s901ms running, 1 wakeups, 1 alarms: com.google.android.talk
act=com.google.android.apps.babel.UPDATE_NOTIFICATION
+9s982ms running, 1 wakeups, 1 alarms: android
act=android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED
+8s959ms running, 0 wakeups, 2 alarms: net.eggenstein.android.calwidget2
cmp={net.eggenstein.android.calwidget2/net.eggenstein.android.calwidget2.AlarmReceiver}
+1s5ms running, 0 wakeups, 15 alarms: android
act=android.intent.action.TIME_TICK
Alarm Stats:
com.android.keyguard +25ms running, 2 wakeups:
+25ms 2 wakes 2 alarms: act=com.android.internal.policy.impl.PhoneWindowManager.DELAYED_KEYGUARD
com.google.android.apps.plus +22ms running, 1 wakeups:
+22ms 1 wakes 1 alarms: cmp={com.google.android.apps.plus/com.google.android.apps.plus.service.CameraMonitor$MediaTrackerIntentService}
com.android.vending +7ms running, 2 wakeups:
+5ms 1 wakes 1 alarms: cmp={com.android.vending/com.google.android.finsky.services.ContentSyncService}
+2ms 1 wakes 1 alarms: cmp={com.android.vending/com.google.android.finsky.services.DailyHygiene}
com.google.android.talk +24s931ms running, 2 wakeups:
+23s801ms 1 wakes 1 alarms: act=com.google.android.apps.babel.RENEW_ACCOUNT_REGISTRATION
+22s901ms 1 wakes 1 alarms: act=com.google.android.apps.babel.UPDATE_NOTIFICATION
android +56s955ms running, 4 wakeups:
+46s118ms 0 wakes 1 alarms: act=com.android.server.action.NETWORK_STATS_POLL
+9s982ms 1 wakes 1 alarms: act=android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED
+1s5ms 0 wakes 15 alarms: act=android.intent.action.TIME_TICK
+11ms 3 wakes 3 alarms: act=android.content.syncmanager.SYNC_ALARM
com.touchtype.swiftkey +4ms running, 0 wakeups:
+4ms 0 wakes 1 alarms: cmp={com.touchtype.swiftkey/com.touchtype.ReferrerRegistrationService}
*ACTIVE* com.android.systemui +14m55s377ms running, 0 wakeups:
*ACTIVE* +14m55s377ms 0 wakes 214744 alarms: act=com.cyanogenmod.util.action_quiet_hours
com.android.providers.calendar +31s661ms running, 2 wakeups:
+31s661ms 2 wakes 2 alarms: act=com.android.providers.calendar.intent.CalendarProvider2
com.cyanogenmod.lockclock +1ms running, 1 wakeups:
+1ms 1 wakes 1 alarms: act=com.cyanogenmod.lockclock.action.FORCE_WEATHER_UPDATE cmp={com.cyanogenmod.lockclock/com.cyanogenmod.lockclock.weather.WeatherUpdateService}
net.eggenstein.android.calwidget2 +8s959ms running, 0 wakeups:
+8s959ms 0 wakes 2 alarms: cmp={net.eggenstein.android.calwidget2/net.eggenstein.android.calwidget2.AlarmReceiver}
com.android.deskclock +125ms running, 0 wakeups:
+125ms 0 wakes 1 alarms: act=com.android.deskclock.ON_QUARTER_HOUR
com.google.android.gms +58s594ms running, 12 wakeups:
+58s238ms 0 wakes 3 alarms: cmp={com.google.android.gms/com.google.android.gms.playlog.uploader.UploaderAlarmReceiver}
+38s895ms 7 wakes 7 alarms: act=com.google.android.gms.nlp.ALARM_WAKEUP_LOCATOR
+21ms 1 wakes 1 alarms: cmp={com.google.android.gms/com.google.android.gms.checkin.CheckinService$Receiver}
+9ms 2 wakes 2 alarms: act=com.google.android.intent.action.SEND_IDLE
+7ms 1 wakes 1 alarms: cmp={com.google.android.gms/com.google.android.gms.checkin.EventLogService$Receiver}
+7ms 1 wakes 1 alarms: cmp={com.google.android.gms/com.google.android.gms.security.snet.SnetService}
com.android.phone +3ms running, 1 wakeups:
+3ms 1 wakes 1 alarms: act=com.android.internal.telephony.data-stall
Click to expand...
Click to collapse
I'm running CM11 M8 and have set the runtime to ART, so far everything has worked just fine, but - as i said - since today it is terrible ^^
I hope that somebody can help me!
If you need further information please ask right away, i'll check in on that topic quite frequently - meaning every hour or so
Thanks in advance!
Tobi
think i just solved it myself ...
according to the dumpfile the "silent hours"-feature (hope that's what its called in english) cause all those alarm-wakelocks ...
my silent hours were set between 0000 - 0700, but somewhere around 3 or 4 o'clock my battery ran out, i plugged the phone in an booted it after 0700 ... i guess the system wanted to activate / deactive the ringtones and stuff all the time which caused the heavy battery drain ... after i disabled the feature clock speeds went back to normal (between 200 and 500MHz)
do the guys over at CM know that issue ? ^^
Maybe they don't know about it. I'll try setting quiet hours on my phone to see if it does the same.
If it does then we should report it.
knuckles1978 said:
Maybe they don't know about it. I'll try setting quiet hours on my phone to see if it does the same.
If it does then we should report it.
Click to expand...
Click to collapse
i think it is important that you battery dies while quiet hours is active and that you reactive the phone after quiet hours should have ended.
also i was running my phone with ART, and i already got word from the Cyanogen team that they don't support ART yet. So they won't look at the issue if it cannot be reproduced with Dalvik.
But thanks for the effort!

calendar widget problem with no duration event after 23:01

Set an event at 23:01 with no duration: in the app it is displayed correctly, in the widget it is displayed also on the next day.
If you change duration of event to 59 minutes, it is displayed correctly.
Obviously the widget believes that no duration means 1h duration.
thegios said:
Set an event at 23:01 with no duration: in the app it is displayed correctly, in the widget it is displayed also on the next day.
If you change duration of event to 59 minutes, it is displayed correctly.
Obviously the widget believes that no duration means 1h duration.
Click to expand...
Click to collapse
no one?

Method to Programatically Enable or Disable Always-On mode

I was making an app with some quick setting complications to easily toggle settings. I have things like toggling WiFi and Bluetooth and would like to add the feature to enable or disable Always-On mode from the watch face. Has anyone found a method to do this from an app? I have seen in the logs that a broadcast is being sent whenever this is being enable and disable, but I'm not sure what extras would need to be used.
Code:
BroadcastRecord{1df5514 u0 com.google.android.clockwork.settings.SYNC_AMBIENT_DISABLED} to user 0
Intent { act=com.google.android.clockwork.settings.SYNC_AMBIENT_DISABLED flg=0x10 (has extras) }
extras: Bundle[mParcelledData.dataSize=52]
caller=com.google.android.apps.wearable.settings 646:com.google.android.apps.wearable.settings/1000 pid=646 uid=1000
joelphilippage said:
I was making an app with some quick setting complications to easily toggle settings. I have things like toggling WiFi and Bluetooth and would like to add the feature to enable or disable Always-On mode from the watch face. Has anyone found a method to do this from an app? I have seen in the logs that a broadcast is being sent whenever this is being enable and disable, but I'm not sure what extras would need to be used.
Code:
BroadcastRecord{1df5514 u0 com.google.android.clockwork.settings.SYNC_AMBIENT_DISABLED} to user 0
Intent { act=com.google.android.clockwork.settings.SYNC_AMBIENT_DISABLED flg=0x10 (has extras) }
extras: Bundle[mParcelledData.dataSize=52]
caller=com.google.android.apps.wearable.settings 646:com.google.android.apps.wearable.settings/1000 pid=646 uid=1000
Click to expand...
Click to collapse
I am pretty sure you do need the write_secure_settings permission for that which is only granted to system apps or device admin apps.

Categories

Resources