Calendar wake locks - Galaxy S II General

Hello. I am using ki8 and siyah kernel. I am getting insane levels id wake lock due to calendar. I believe it is the same as an old aosp bug. Can some one direct me further on what to do next, I don't think deleting calendar sync is an option.
Yeah. 40% over 10 hours is good worth that usage..except I wasn't using the phone except at the beginning.
Thank you
http://www.google.com/m/url?client=...wQFjAG&usg=AFQjCNGiwsYuvaRFq6VkYiO62Qvf_i9pGA

Just had one of these yesterday running villainrom 3
It happened because I had locked the screen in the middle of setting a calendar event without saving or cancelling. I guess it got stuck in awake and killed my bat as well.
Exited and it's been fine so far.

I have that wakelock also. It's really bad when I have busy schedule. I notice it has something to do with reminder alarm. If no reminder alarm set for an appointment, it seems fine though. Any one else having this wakelock? This wakelock really drain battery.

p.s. I have seen this thread but that is more about identifying the issue. now we have I think it is worth seeing if this is a ki8 only issue, or ki3 or (2.3.5) our ki4 (2.3.4)
http://forum.xda-developers.com/showthread.php?t=1179809

Also this one.
http://forum.xda-developers.com/showthread.php?t=1288998

Two more...
http://forum.xda-developers.com/showpost.php?p=16834540&postcount=1544
possible solution...?
http://forum.xda-developers.com/showthread.php?t=1192696
Most likely solution
http://forum.xda-developers.com/showthread.php?p=18122513

So to isolate and confirm what other people have said...
First I tried different calendar alert settings. No difference.
I have now reset my calendar data and re-synced. I will update tomorrow if phone refuses to sleep after first calendar alert.
If that fails I shall remove first built-in calendar; and then google calendar from calendar app.
Finally if that fails I will try uninstalling Samsung apps one by one. (I always did SNS and hub apps. I never turned dive on)

Read the discussion in this thread (posted earlier) where a couple of us discuss what is going on with Calendar. However in my case, I don't use Calendar much so I simply uninstalled it with Titanium Backup. Now I don't get any more wakelocks but I also don't have a calendar, so it's up to you.

claimui said:
Read the discussion in this thread (posted earlier) where a couple of us discuss what is going on with Calendar. However in my case, I don't use Calendar much so I simply uninstalled it with Titanium Backup. Now I don't get any more wakelocks but I also don't have a calendar, so it's up to you.
Click to expand...
Click to collapse
shutting down services selectively didn't seem a solution to me. I can say that wiping data for the three calendar apps and re syncing helped,. I had zero wake locks today inspite of a massive schedule that meant I couldn't even dismiss the events this afternoon except once I needed to make a call.
I wonder if calendar didn't like google assisted upgrade.
I shall monitor that.
Sent from my GT-I9100 using Tapatalk

Well I think that cracked it. Turn off calendar sync.
Wipe calendar data and re-enable calendar sync.
I cannot remember which forum I read that but kudos to that one and shame not more people tried it.

I was getting wakelocks as well with the calendar so i froze it in Titanium and i use Calandar One and no wakelocks (and it's much better than the stock one too)

Related

Google Calendar Issue Since Nexus One

I use 3 Google Calendars on my account, personal, work and rota. Since I've had my Nexus One, I notice some of them are not showing on the calendar on my phone, although I see them on the web version.
When I click some of them it shows -
Creator: [email protected] for Work
Most others don't show creator info (probably set before I had a Nexus), just the event time and date... these one's show fine.
Does anyone know what's happening? I rely on them quite a lot, so if things stop working, it's going to make my life more difficult
**EDIT** Okay, literally as I'm typing this and playing with things, they all seem to have come back...
Anyone ever seen this happen?
Also, while I'm here, how do I change the first day of the week to be a Sunday instead of a Monday on the Nexus Calendar?
Thanks for any help...
This is apparaently quite a common issue => search or google calendar sync issue in google and you'll find lots of info on it esp. the Google Calender help forum.
This happened to my nexus and I read somewhere that programs like toggle settings and quick settings seem to cause this (something to do with them taking control over sync settings). So I uninstalled both of them and a couple of hours later I was glad to see the calendar sync was working again!
I did however quite like Toggle settings and wish there was a way I could use it without it messing up the calendar sync function. If anyone has any ideas that would be greatly appreciated.

Calendar power usage

Hello.
I've noticed recently that the Calendar application is using a lot of battery on my DHD, if I've not used my phone much since unplugging it, the Calendar claims to have used up to 50% of the battery. On normal usage it uses a similar amount as the display. I am running Leedroid 1.2 (did the same thing in 1.0) and have tried clearing the cache, unchecking the weather feature and removing the facebook calendar (I now have 1 gmail account calendar, 1 subscribed calendar and public holidays listed). I have done several restarts and it is always the same.
http://img.photobucket.com/albums/v513/Trifid/mobile/snap20101123_123207-1.png
http://img.photobucket.com/albums/v513/Trifid/mobile/snap20101123_123216.png
Does anyone have any ideas of how to resolve this? My next step would be to do a full wipe and reflash of the ROM but I would rather not get that far...
Thanks.
I have the same issue, had it on the normal OTA and now on leedroid too. I use multiple Google calendars and have Facebook and twitter sync running. It does seem to spend a lot of time synching.
Just looked at accounts and syncing and it does seem to be Google calendar that is constantly syncing.
Sent from my Desire HD using XDA App
In many different forums the same issue appears all the time. Many people resolved it by limiting their homescreen widgets that make use of calendar in some way. Sometimes even more than one make the calendar go berserk and chopchop ur power like a hungry chinese - a bowl of rice
bahkata said:
In many different forums the same issue appears all the time. Many people resolved it by limiting their homescreen widgets that make use of calendar in some way. Sometimes even more than one make the calendar go berserk and chopchop ur power like a hungry chinese - a bowl of rice
Click to expand...
Click to collapse
I don't have a calendar widget. I do have the Facebook and twitter on my home screens (was about the time I started using these that I noticed it actually.)
Well it is still present after removing the Facebook and Twitter widgets (and after a restart for good measure). Maybe it is Launcher Pro?

Another calendar issue

My calendar has started being a real pain in the backside today. I was reading a few topics on the calendar and after checking my battery usage daily I thought my calendar had started using a lot more battery than it used to (used to be around 5-8% on a full charge, recently its been 15-20%).
So I wasn't able to find any fix in the other threads and someone suggested clearing the data from the app manager which I did. The problem now is that my calendar is messed up. I only use it for birthdays linked via facebook and holidays. It is showing the holidays fine but it is no longer showing birthdays. It shows some (3 to be exact) however there used to be waaaaay more as it showed all my facebook contacts birthdays. The 3 people that it is showing seem to just be random and it says they've been linked from facebook.
The good news is that my calendar battery usage is back down to below 5%, but maybe that's because it isnt even working as it should.
Anyone have any suggestions. I really don't want to do a factory reset. It took me about 3-4 hours to sort out my contacts and link them all correctly so doing that again would drive me mad (unless there is some way I can do a backup which includes the contact links?)
Sorry, I can't help you but HTC clearly has issues with Google Calendar. My calendar eats battery and often sits at the "Loading" screen. I see lots of issues on the forum, and few solutions. Time HTC fixed it.
Hi,
Yeah its a known issue. I have the same problem. I e-mailed HTC about is last week and they replied saying that they know about it and should be fixed in an update soon.
~Sean
Hello!
I tried the clear-data for the calendar and the battery consumption has dropped to normal levels again.
Thing is my Facebook birthdays are not showing up anymore (at least most of them...).
Also, I would like to ask another thing.
Is there a way for the calendar to display birthdays for people that you don't have as friends in facebook but you have their birthdays stored in your phone contact list??
And one final question. If you go to Google calendar online (from a PC) there is an option to have your favorite teams' schedules on your calendar. Is there a way for these schedules to appear on your phone calendar as well?
Thanks!
DanteGR said:
Hello!
I tried the clear-data for the calendar and the battery consumption has dropped to normal levels again.
Thing is my Facebook birthdays are not showing up anymore (at least most of them...).
Also, I would like to ask another thing.
Is there a way for the calendar to display birthdays for people that you don't have as friends in facebook but you have their birthdays stored in your phone contact list??
And one final question. If you go to Google calendar online (from a PC) there is an option to have your favorite teams' schedules on your calendar. Is there a way for these schedules to appear on your phone calendar as well?
Thanks!
Click to expand...
Click to collapse
I have the exact same facebook birthday issue because I did the exact same clear data thing. Battery consumption from the calendar has disappeared thankfully but now the facebook birthdays don't appear.
I eventually gave up and left it. Day by day the facebook birthdays have been appearing strangely. Initially only 2 friends birthdays were appearing after clearing the calendar data, then the next day there were about 4, then the next day a few more and its gradually populating the calendar. There are still some missing but I'm hoping they will appear soon as everyday there seems to be some more added.
It is very strange but give it a few days and see if it starts populating.
Same here. Cleared the calendar data and it has resulted in similar effects (improved battery, weird calendar). I'm surprised that such basic functionality (HTC syncing with Google calendar using a Google OS) has caused such problems.
Oh, any syncing my favourite team (the one and only Glasgow Celtic) would be nice. Any ideas? I have Celtic's fixtures in Google Calendar on a PC but they don't appear in my syncs.

My Quest of finding a Solution to Battery Drain and some funny stuffs

I have got my galaxy S2 for a week now. I absolutely love the phone. Just that the battery problem is killing me. I only manage to get half day of usage for the phone. Then I started reading infinite number of threads on xda on battery issue. I basically tried every possible methods:
flashing so many roms (on decided to stay on KF2 right now),
deleting all widgets(could be),
root the phone and install titanium backup to delete a lot of software which ppl
classified as the source of the drain(could be),
disable fast dormancy(dun see the difference),
disable push email and sync(could be),
using advance task killer to kill app every hr (dun work),
juice defender(dun work)...
etc etc...
SOMEHOW, my battery drain issue STOPPED yesterday!!! I still dunno what exactly is causing it to stop draining. But I DID find out a pattern, when we go to the battery plot section, if the phone shows a solid "Awake" bar, then the battery drains very fast.
So I started trying very possible way to stop the phone being "awake", the above methods I marked as cound be are the ones that I think can actually help. Using advance task killer does make a "segmented awake bar" for a few minutes, but it becomes a solid bar soon after, so no use (i found "clean memory" function comes with the phone better than ATK). Deleting widgets wont stop the phone being awake but it certainly makes my phone feeling lighter and faster. Then I rooted the phone, and start using titanium backup to delete ( i cant just freeze with free version) the possible softwares, e.g the hubs, wifi-sharing, softwaire updates. Then all in a sudden, the phone tries to sleep!!!
For me, I think social hub could be making the phone awake (at least it must be one of them), but I NEED if I need to use the email app that come with the phone for receiving emails from hotmail.
funny stuff starts....
So solve it, I imported my hotmail account to gmail using POP so that I can use gmail app to check hotmail. But then my hotmail and gmail start going crazy...!!
Reason: I did similar setting before in my hotmail account to receive gmails in to my hotmail account. What happens next is... Yes.. I basically created a "loop function" which makes the two accounts keep exchanging emails automatically to one another.. I received 1000+ emails in just a few minutes and it keeps going faster and faster.!!! > < Therefore I wont try this again!!!!
Can someone tell me a solution of getting hotmail emails in other ways besides those stupid apps (e.g android mail) in the android market which basically acts as a bookmark to get you to the hotmail page? MANY THANKS!
One of these might help:
POP your hotmail into a new yahoo mail account and install yahoo mail client.
Set up a new gmail account and POP hotmail into it, use gmail client to read main and this new account.
Figure out whats wrong with your phone that makes samsung stock mail waste juice, I use it for exchange mail and it's just a bit more hungry than what I would have wanted, I get through a heavy usage day just fine.
JuiceDefender surely helps. I'm getting 2 days with medium usage, KE7 stock firmware. Yes, as you said if you have background tasks, that will kill the battery, but just close them if you don't need them. Also disable auto-sync, and let only your email sync.
Thank you kreo, i will try yahoo mail account with ur method!

Problem with Google Sync

Hey guys, I have been having a problem with Google Sync for some time now and wondered if anyone else
has the same problem. For me the auto-sync no longer works for any of the Google services, most noticeably gmail. On my old DHD and the N4 when I just got it, emails would appear on my device almost instantaneously after being sent no matter if I was on 3G or Wi-Fi or if phone was asleep. For last couple months the phone would sync emails about 1nce a day and since I need to know when new emails arrive, I'm forced to force sync from either Google sync in settings, or by clicking refresh from GMail itself.
I googled this issue many times and there seems to be a lot of people with the same problems and many different suggestions, I tried the ones listed below, but nothing works and if anyone knows how to fix this, please let me know!
I have 3 Gmail accounts and my auto sync is turned on from both the quick toggles in notification bar, the power widget (don't use it just wanted to see if it would help) and from data usage settings. I'm running AOKP ROM milestone 1 but this problem as far as I remember happened on other ROMs too. I also do not have any power saving apps installed. I also have about 1GB of free memory. I also disabled browser sync under someone's advice.
Doing a clean flash of a ROM does help for couple of days, maybe a week, but then always the same thing happens. Clearing app data for Google apps might work, but I'm not sure if it will last and prefer a more permanent solution.
So does anyone have similar problem and/or knows a fix?
Sent from my Nexus 4 using xda app-developers app

Categories

Resources