[Q] What is 'StartingAlertService'? - Galaxy S II Q&A, Help & Troubleshooting

While I am using BetterBatteryStats to determine how I can improve my Galaxy S II's battery usage, I notice 'StartingAlertService' (Calender) is on the top of the list on Wakelocks list. Does anyone know what is 'StartingAlertService'?

Ask here,
http://forum.xda-developers.com/showthread.php?t=1179809
Maybe an event in Calendar!

I have the same issue with StartingAlertService, it is the Calendar but not sure how can it be addressed.
Alternatively, any good calendar apps, maybe little less trigger happy than the stock one, that anyone can recommend?
Can't post in that thread, I have yet to hit that absurd 10 posts rule

My battery usage is definitely better during weekend because my no meeting in my work Calender. Maybe I should not sync my work calander during weekday and see whether the battery usage is a lot better.
Sent from my GT-I9100 using XDA Premium App

Hmm, please post whether turning off sync for the Calendar did improve your stats. Mine is off and still that service is on top of the list.

startingalertservice in my phone consumed 93% of my battery after 7 hours usage. i found out this problem caused by .com.android.mms.
so i uninstall mms.apk tru systemappremover after i had installed GoSms. after all, the problem solved.

startingalertservice drain.
emptyara said:
startingalertservice in my phone consumed 93% of my battery after 7 hours usage. i found out this problem caused by .com.android.mms.
so i uninstall mms.apk tru systemappremover after i had installed GoSms. after all, the problem solved.
Click to expand...
Click to collapse
Hi Emptyara,
I have the same issue... (with drain by startingalertservice).
How did you found out it had to do with MMS? Can you guide me through your resolution process? before I simply remove apps which might not solve anything...
Thanks!!

i'm having the same problem. it just randomly starts (switching from two or three diff roms).
i'd have great battery life and etc, and then all of sudden, wakelocks goes all whacky and StartingAlertService is the main problem.
i've already played with calendar notifications and monitoring the mms service now.
anyone else?

Same issue here, even though I've stopped using the Calendar, and turned off both syncing and notifications. But I checked today and Calendar had a partial wakelock of about 14 minutes when my phone should have been otherwise asleep.
I don't think it is related to MMS. I think some people are getting "StartingAlertService (.com.android.mms)" whereas I'm getting "StartingAlertService (Calendar)"
I also think it might be specific to the Samsung version of Calendar since I don't see any posts about this except in the Galaxy S II forums. I just uninstalled the Calendar with Titanium Backup and will see if this stops the issue.
Appreciate any other feedback on this.

Uninstalling Calendar did work, in case anybody was wondering. No more partial wakelocks from StartingAlertService (Calendar). Of course, now I don't have a Calendar app, so there's a trade-off. I might try an alternative calendar app like Jorte or something, but right now I don't use the calendar much.

Got the same issue here.
Do you guys have EasyProfiles installed?
Bcause I set up EasyProfiles to switch to the "Meeting"-Profile, when there is a calendar entry.
Maybe this is what causes that?
---------- Post added at 12:29 PM ---------- Previous post was at 12:24 PM ----------
Another possibility:
I noticed, that syncing with MyPhoneExplorer is not the best thing since either Lotus Notes, MyPhoneExplorer or Android itself does not handle recurring events properly.
This led to events showing up today that have been in the past.
I deleted the whole calendar data and synced again and they were gone, but my colleague has the same issue.

I'm also suffering from this problem.
If anyone finds a remedy, please tell me.
Will removing MMS really help here? (the wakelock is because of the calendar, not MMS).

If it says Calendar, then remove Calendar (not MMS). I never used the Calendar much, so I just keep it uninstalled these days.

Just noticed my battery had dropped more today than usual.
Checked BBS and noticed "StartingAlertService" calendar taking 13m 49s ie 9.7% in terms of wakelocks, over a 2hr 22min period.
I do use, and need the calendar. Sync is set (via autosync account activator) for every 2 hours -- but it's been like this for a while without me seeing this process pop up.
Hopefully a one-off but wish I knew why it was there...
Everything else is done at the 1.5 min or less (twitter, google search, activity, google+)
The only thing dfifferent about this morning is I enabled gps and used maps briefly....
I also have one appt today with an alarm set (though that's a couple of hours ago now)

I think it is the appointment notifications that set it off (hence the "starting alert"), and not the sync or anything else. You can turn off notifications in the Calendar app but I think any events in Google Calendar with reminders will still get through. A Calendar without notifications is not that helpful to me anyway, since the whole point is to remind me of all the stuff that I forgot. Anyway you can try clearing all your alarms and see if that helps.
What firmware are you using? I think this is a specific problem with the S II (since I don't see any other forums talking about it) so I was hoping Samsung would fix it in one of their newer versions.

I have also identified startingalertservice as the source of my wakelock and battery drain.
*Every time there is a meeting the phone will stay awake for an half an hour or so.
*The awake starts with the time when there should be meeting reminder not when the meeting does actually start.
*It only happens when I have calendar app notification settings set to Off
I will try to investigate further but if you have any ideas then let it out.
About my background:
latest leomar75
touchdown for Calendar and e-mails
tasker for automated silent mode when in meeting
internal calendar for tasker, that annot read TD calendar (notifications off)
I have tested and turning touchdown and tasker off does not fix the wakelock but turning off calendar does.

Anything new about this issue? It drives me crazy when calendar sucks my battery....
Any tips how to avoid it?
Thank you

After hours of digging, I did not found an solution so I came up with workaround.
If Tasker detects notification *:*mins* (meaning Touchdown calendar reminder) from app Touchdown, it will just kill the app calendar.
I think you can use same approach with diferent scenarios.

I have the same problem. If i don't set a reminder for a event, there is no problem. The wakelock start when a reminder alarm is about to ring, and then it stays wakelock for a long time and drain battery. I9100 is the buggiest phone I ever owned. Now I wonder what will happen when ICS is introduced to I9100. I think there will be more bugs in the Touchwiz applications.

I found the source code that call the wakelock of StartingAlertService here.
I am not a dev so I might look at the wrong thing, but I can see that in order for the wakelock to be released, there are 2 IF statements that have to be satisfied. I think the problem might be there. Any Devs here would like to share any insights??

Related

[Q] How much battery does Motoblur Social Networking app drain?

I noticed some horrible battery life (about less than 9 hours) on my phone, and suspected that Motoblur had something to do with it. 4G, bt, wifi, and gps were not on the entire day.
I did a quick search and saw people complaining that the Social Networking app can be a battery drainer. Have you guys noticed anything?
I set it to one hour sync for now (instead of the default - push), and we'll see how it goes tomorrow. But if that's the case, do you know if I can remove those accounts completely, but still have Facebook and Twitter account information linked to the contacts with their own apps?
9 hours is honestly ok
You can remove any accounts you want and the phone will function fine. My phone lasts like 12 hours with medium use and 6 and a half with heavy usage.
Sent from my MB855 using XDA Premium App
Not really, i constantly check my battery usage and Social Networking has always stayed low on the list. I also have mine set to 1 hour update increments. I was interested in removing all motoblur parts but was disappointed to find that androids Facebook app does 'not' sync pictures to contacts and such and doesnt contain an option. If there is a way to do this, i'd like to know as well. What you can do if your rooted is allow moto's social networking to tag all of your contacts with pictures, then backup your contacts with Titanium. At that point you can remove you accounts, restore through Titanium and have your pictures on your contacts with your facebook account unlinked. Granted, this obviously wont work for new friends you would acquire.
I would just put up with it till someone releases a rom with stock android if you really dislike motoblur. Hopefully that will happen soon, as that seems to be what most people are wanting.

[Q] Question about a wakelock (Ouch) [Solved]

Take a look at my wakelocks. For some reason, calendar is holding one entirely too long. My Gmail wakelock seems a little high too, but not out of the ordinary (I receive and send a lot of emails during the day). I noticed the calendar wakelock when it was at 37 minutes. I thought it may have been because I leave calendar notifications in the status bar. Cleared them - no luck, still holding it. Went to calendar settings and turned off notifications - no luck, still holding it. Weird thing is my battery life has still been pretty good, but my device shouldn't be working that hard, for that long.
Does anyone know what "StartingAlertService" (associated with calendar) is? I need some help in pinpointing exactly how to stop this wakelock. Not using the calendar (or using an alternate one) is not an option.
Solution:
rodries said:
. . .
The problem is in TouchWizCalendar.apk not releasing the wakelock properly in class ServiceHandler inside class AlertService
. . .
Click to expand...
Click to collapse
The touchwiz calendar from his thread fixes the problem. It will work on any Samsung-based rom, 9100 hellraised or i777 bases.
Simba501 said:
Take a look at my wakelocks. For some reason, calendar is holding one entirely too long. My Gmail wakelock seems a little high too, but not out of the ordinary (I receive and send a lot of emails during the day). I noticed the calendar wakelock when it was at 37 minutes. I thought it may have been because I leave calendar notifications in the status bar. Cleared them - no luck, still holding it. Went to calendar settings and turned off notifications - no luck, still holding it. Weird thing is my battery life has still been pretty good, but my device shouldn't be working that hard, for that long.
Does anyone know what "StartingAlertService" (associated with calendar) is? I need some help in pinpointing exactly how to stop this wakelock. Not using the calendar (or using an alternate one) is not an option.
Click to expand...
Click to collapse
Man that's weird... High sync wakelock usage seems like what I call "gmail weak-signal battery rape". Battery would start dropping like a rock if the phone lost signal at certain points during the sync cycle without the cpuidle fix. Things got much better after implementing the cpuidle fix in the kernel, but drain would still be much higher than normal. However your calendar wakelock doesn't seem to be related to sync. I suggest Googling it, or try temporarily disabling calendar sync.
Does this only happen when in weak signal areas?
Entropy512 said:
Man that's weird... High sync wakelock usage seems like what I call "gmail weak-signal battery rape". Battery would start dropping like a rock if the phone lost signal at certain points during the sync cycle without the cpuidle fix. Things got much better after implementing the cpuidle fix in the kernel, but drain would still be much higher than normal. However your calendar wakelock doesn't seem to be related to sync. I suggest Googling it, or try temporarily disabling calendar sync.
Does this only happen when in weak signal areas?
Click to expand...
Click to collapse
I know, I thought the same thing. I'll keep looking around. It finally stopped at 1 hr 14 mins of wakelock. I hadn't figured out anything else to change so it stopped on its own. If it picks back up again, I'll disable sync in an attempt to gather more information. I've been in a pretty weak signal area for most of the day. I'll monitor it when in other coverage situations.
Update: So I found a HTC Hero thread over a year old over at AndroidForums and it appears that the remedy is to clear data of the calendar application (there were 3 in manage applications that were associated with calendar, so I cleared them all) and re-sync. I had to uncheck and recheck the sync option for Google Calendar, which is what brought my events back. Like I mentioned, the wakelock ended up stopping on its own, but hopefully this will prevent it from occurring again.
cjberg @ AndroidForums said:
I was having the same problem. I rebooted the phone, went in to the manage applications list and hit clear cache and clear data in the calendar app. Then I went to accounts & sync and re-synced the calendar and it has been working fine ever since. I also use spare parts to monitor the battery useage and awake time, so I can see if it ever pops up again. Been about a week now and the calendar is not keeping my phone awake any longer.
Click to expand...
Click to collapse
Solution thread link
OK, so it was a variation on sync battery rape.
I know if you have a Google service that doesn't seem to be syncing reliably (missing events in Calendar, missing emails in Gmail), clearing data for that app usually fixes it.
I have the similar issue but uncheck the calendar sync for my Hotmail solves the problem (just as it did on my Captivate 2.3 ROM). I can't believe Samsung hasn't address the Hotmail calendar sync bug yet.

[Q] High partial wake lock time for stock gingerbread email app

Hi,
I have recently been having poor battery life on my Samsung Captivate (AT&T Galaxy S) to the tune of having to charge twice per day. I installed BetterBatteryStats and was able to quickly see that the email app is holding a partial wake lock for a large amount of time.
For example, on a system running 9h11m, the email app was awake for 1h16m, or 13.9% of the time, which seems excessive. See attached for details.
I did some searching on the internet and found a similar issue on Google code. However, this issue is over two years old, and there doesn't seem to be any resolution.
My phone is an AT&T captivate running stock Gingerbread 2.3.5, rooted, with Corn kernel 7.0a and RFS reformatted to EXT4. The email account is connected to an exchange server clone (Zarafa and Z-Push) with the email account sync schedule set to push mode.
I may indeed by the only one using this setup, but I thought I would check to see if anyone has the same battery draining issues with the email app.
Thanks.

Exchange keeping phone awake

I have one exchange account set to sync calendar and email. The Exchange process itself only uses around 7% of battery according to the battery graph. The 'awake' line under the graph has some solid areas accompanied by a corresponding steep drop on the battery curve.
Using GSam battery monitor to show which app had the most Time held awake shows Exchange over 5hrs.
I tried changing from Push email to every 10 minutes but it hasn't helped.
I also tried deleting the account, clearing cache and data from the exchange app and recreating the account.
Has anyone solved this issue?
I have not solved it but have the same problem. Galaxy S3. I need Exchange Sync, it finally got me to stop missing BlackBerry
Charging twice a day still stinks. Do other Android phones have this constant awake issue when running Exchange? Is the issue specific to ICS?
Hi, never experienced this on my S3, but did on my S1. A few things to try:
- Push can actually be more battery friendly
- Disable Calendar sync, if that cures it, try deleting all recurring appointments, starting with the oldest ones. Bad recurring appointments are known to send the sync process in a loop.
- Wrong login credentials keep the phone awake, even when sync is set to never!
I use Enhanced Email, in which security can be overided ( no server forcing a lock on the phone). I have read that security policies from the ecchange server can cause problems too.
Sent from my GT-I9300 using xda app-developers app
Yep same problem here too, anyone?
I'll try turning off calendar sync. I turned off push but that made no difference, as you suspected. I use touchdown for email, task, and calendar and also use device exchange sync for calendar (the latter so Calendar Snooze will work with appointments). I can probably get by syncing calendar manually but not using is not an option since calendar is more important than calls and email for me.
Will report back with findings.
techphets said:
I'll try turning off calendar sync. I turned off push but that made no difference, as you suspected. I use touchdown for email, task, and calendar and also use device exchange sync for calendar (the latter so Calendar Snooze will work with appointments). I can probably get by syncing calendar manually but not using is not an option since calendar is more important than calls and email for me.
Will report back with findings.
Click to expand...
Click to collapse
Hi techphets
Just wondering if you managed to fix this issue??
Ive also spent hours and hours trolling around trying to find a fix for this, but with no success any thoughts?? I have the galaxy s2 (not rooted, ics 4.0.3) so its definitely not just your S3, its more widespread. ICS? or the email app??
Cheers
i never use any stock apps especially when it connects to the networks and syncs so i just uninstall it to make sure that it doesn't consume battery life
Thanks. However when I log in to outlook online on my phone, the emails that appear are months old so it doesn't sync online. The only way to see new emails it to use the app (so I've found so far anyway)
Sent from my GT-I9100 using xda app-developers app

[Q] Email Sync abnormal battery drain issues?

Hey all,
I got the Tmobile version of the S6 Edge yesterday and the battery life seemed pretty decent as long as wifi was off - at least until I added my email accounts to my phone.
I've noticed that the Email Sync is taking up a ton of battery on my phone - according to the battery usage meter Email Sync is using 19% with the next highest being the screen at 3%! Its only been on for 5 hours and its already at 42%.
I did add a lot of accounts - 7 total all either exchange or microsoft live/outlook accounts and all setup to download a months worth of emails and push new emails as they arrive. However, with every other phone I've used this hasn't been an issue (two most recent were a Nexus 5 and an LG G3).
Is anyone else having abnormally high battery drain from Email Sync using the native email client? And if so, how did you go about fixing it?
Deusx Machina said:
Hey all,
I got the Tmobile version of the S6 Edge yesterday and the battery life seemed pretty decent as long as wifi was off - at least until I added my email accounts to my phone.
I've noticed that the Email Sync is taking up a ton of battery on my phone - according to the battery usage meter Email Sync is using 19% with the next highest being the screen at 3%! Its only been on for 5 hours and its already at 42%.
I did add a lot of accounts - 7 total all either exchange or microsoft live/outlook accounts and all setup to download a months worth of emails and push new emails as they arrive. However, with every other phone I've used this hasn't been an issue (two most recent were a Nexus 5 and an LG G3).
Is anyone else having abnormally high battery drain from Email Sync using the native email client? And if so, how did you go about fixing it?
Click to expand...
Click to collapse
I am having the exact same issue with only 3 accounts- looking for solutions...
This is the main issue I'm having. It was draining 5-10% an hour while not in use due to email sync. I have one email set up for that. I have it set to manual sync now and I'm only losing 1% an hour while not in use. I have the Volte option and Wifi options turned on (but not wifi itself) with no draining issues like other people.
I had the same drain. So I downloaded another email app and been using that instead.
Same issue here, abandoned it for another app, Waiting for a solution.
Did the same honestly - using mailwise right now but it isn't as full-featured as the native Samsung one. What is everyone else using?
Does the high email battery usuage cause Google Service battery drain for anyone else? I browse Reddit for about 30-50 mins each night before going to bed and it usually drops 10-15% but when I wake up, Screen is never on the top of battery usage. It's usually Google Services followed by email, and other stuff. VoLTE and Wifi scanning/calling is turned off for me and I leave location off until I need it so does anyone have any idea?
aaronc_98 said:
I am having the exact same issue with only 3 accounts- looking for solutions...
Click to expand...
Click to collapse
I have 3 accounts as well and email is draining my battery
Are you people talking bout the Gmail app also or just Email app? If you guys add those accounts to Gmail app does it do the same thing?
I am using the Gmail app for Gmail and the Samsung app for MSN and Exchange ActiveSync for work I have since removed the Samsung accounts and installed CloudMagic and I'm going to see how that works
I too have The same problem since yesterday. And I only use one account.. so a solution would be welcome.
Edit: I use the email app not the Gmail.
Sent from my SM-G920F using XDA Free mobile app
Last night I moved my exchange active sync account and my msn account to cloud magic, left my gmail account in the gmail app and deleted the accounts from the samsung mail app and after a little over 3 hours I still have 95% battery life. Very happy with these results so far.
Deusx Machina said:
Hey all,
I got the Tmobile version of the S6 Edge yesterday and the battery life seemed pretty decent as long as wifi was off - at least until I added my email accounts to my phone.
I've noticed that the Email Sync is taking up a ton of battery on my phone - according to the battery usage meter Email Sync is using 19% with the next highest being the screen at 3%! Its only been on for 5 hours and its already at 42%.
I did add a lot of accounts - 7 total all either exchange or microsoft live/outlook accounts and all setup to download a months worth of emails and push new emails as they arrive. However, with every other phone I've used this hasn't been an issue (two most recent were a Nexus 5 and an LG G3).
Is anyone else having abnormally high battery drain from Email Sync using the native email client? And if so, how did you go about fixing it?
Click to expand...
Click to collapse
Had the same problem I am on day 3 with my edge. Think I have found a solution, I have the stock app running with 4 mail accounts 3 gmail and one outlook. I have used the stock app because i like the interface. I also use Gmail with the same 4 mail accounts as when the push to my Moto 360 i can reply only using the Gmail app. I have also 1 gmail running in the inbox app.
The samsung app was using by far the most system resources and battery.
This is what i tried, mail pushes ok, and the email not showing in the battery use list.
Go into the email app then more top right. Go to settings, click on an account, scroll to sync schedule and press, set sync schedule to auto (when received) in top field. Turn off peak schedule green switch to disable. Back out and repeat with other accounts mail will now push to phone. if you want to sync a month or so back do that first until you have mail on device then follow the above steps. Seems to work fine. Without the above steps the mail app would eventually calm down after caching all previous mail. Gmail etc caches in the cloud whereas the samsung app needs to retrieve it.
me too
Just wanted to add that I also have ridiculous battery drain from emailsync. I have only one exchange email attached to the email app and it has kept my cell radio on almost constantly today. I just removed my exchange account and I'll report back if this changes my battery life. Turning mail to push instead of syncing did not appear to fix anything.
Sorry, can't post images because I'm "new" and have only been here 7 years or something.
imgur dot com/odxIxuv
Imgur dot com/nmJNdr0
Emailsync is the problem
Hi
Same problem here with emailsync killing my battery.
Tried the solution suggested, disabled Sync schedule and made sure
Sync was set to push (auto when recieved) and the results are the same.
Emailsync is using 60% battery consumption.
Need a resolution quickly, otherwise will take the phone back.
N
Same here. Ditched the stock email app and installed Type Mail(formerly Blue Mail) so will see how it goes.
Although the stock email app is ok, Type Mail is by far the best I've used. And I've tried them all!!
Hi all as far back as I can remember the email app always used a lot more battery than Gmail . For the last 6 years I have used Google to collect and emulate the other accounts.
On my galaxy s2 it meant the battery difference was between 6 hours use on email and over 12 hours using Gmail I am guessing it's not changed over the years.
set email sync to 2 hours
i have the same problem.
battery drains in 6-8 hours max and device becomes hot.
looking at the battery usage, the email sync service is keeping the device awake all the type.
it means it's never sleeping.
i'll try two things:
1- disable email sync push or auto service and set it scheduled (every 2 hours or any other parameter)
that seems working for the last 30 minutes. device is cool now and i only lost 1% even using whatsapp. will try it for longer period.
2- if this doesn't work, i'll move exchange active sync to the Gmail app. there is an app on apkmirror that allows you to do so or use a third party email service like cloud magic.
fingers crossed...
switched to Type Mail, so far so good right now.
update
switched to Typemail and battery is at 84% at 11:30am, huge difference. (ONE DRAWBACK - cant sync Exchange Calendar, when i do add my business email account, Emailsync still goes nuts even with emails disabled and calendar ON sync.)
Emailsync was killing it, at the end of most days, phone would be dead at 4pm. Im a heavy user of phone, sms, and email, 3 core features that shouldnt be draining the battery that much.
So until an update is out, STAY THE AWAY FROM NATIVE EMAIL APP. Its a battery killer, and you will not get your utilisation out of your Edge.
Anyone else find any other solutions to this issue with Emailsync???
N

Categories

Resources