New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Constant high CPU load #1523
Comments
Do you have CalDAV sync enabled, or you have events stored locally only? |
Yes, I have caldav sync enabled. But the actual sync should be done by DAVx5 and Etesync, right? |
well the app checks it too though. Try disabling one of those services to see if it will still happen. |
Does it trigger the other services to sync? I will wait until it happens again and tell you if disabling Davx5 or Etesync helped. |
Well it can trigger them. But it should still happen only from time to time, not constantly. |
If have the same problem, the latest version drains the battery. Changed nothing after the update. |
I didn't get the issue for a few days with caldav sync disabled entirely and also with it enabled but only for a single Etesync calendar. So I guess the issue is with DAVx5? But I'm not sure since the issue was so sporadic to begin with. |
I will test some days with another calender app and davx5 |
Same battery drain here. Nokia 7.1 and 7.2, latest F-Droid version 6.15.4. |
@tibbi : As the Android system settings are saying that Simple Calender app and not davx5 is cosuming the cpu power, how can we test/narrow down the root cause? FYI in Apps / Apps usage Simple Calender is shown as #1 app,up to 20+% o a fully loaded battery. THis even with sync settings set to sync every 30 min for calendar entries. E.g. K9-Mail, where I have several IMAP PUSH connections in use for several email accounts, so permanently connected, just consumes 3%, in average I've tried myself and set davx5 sync settings to "manual only", will report here if any change. Somewhat painful issue, on both my wife's and my mobile ;) |
Im not sure, it is apparently some CalDAV syncing related issue, like it happens too often. I dont have it on my devices though and actually not many people reported it, so it looks like something device or setup specific. |
Hi i'm having the same issue regarding battery usage on a oneplus nord ce, with the latest version on f-droid. |
I recently had a similar problem when updating to version I do not have this problem with version |
Is that a typo or you really mean app versions like 6.5.13? Those are ancient ones. |
|
Hi Tibbi, battery drain drops to <5% if DAVx5 option for calendar entries sync interval is set to "manual only". Nevertheless 5% for doing more or less nothing seems still too much :) Tried today with the newest SimpleCalendar version and DAVx5 sync settings set to "every 60 minutes" - 20% battery since last 100% charge, 15% left in total. I haven't found the possibility in DAVx5 Github for issues, so opened a thread in their forum, FYI crosslinked: https://forums.bitfire.at/topic/2643/battery-drain-with-davx5-and-simplecalendar Interesting for me is that SimpleContacts, using same Nextcloud account synced via same account in DAVx5, does NOT have this draining issue... |
@tibbi there are answers in the DAVx5 forum, esp. this finding:
As I'm using SimpleCalendar only, seems at first that SimpleCalendar must trigger this, somehow. |
try the version mentioned at #1037 (comment) please, if it will still happen |
@tibbi Android refuses to install mentioned version.
any hints? |
@michaelof Did you install Simple Calendar Pro from F-Droid? If yes, your current installation is signed by F-Droid while @tibbi's apk is signed by him. Android does not seem to allow an app update if the signatures differ. Please note: If you want to revert to the old version afterwards, you will again to have uninstall Simple Calendar. Moreover, make sure that you have access to the apk of the old version. (I am currently stuck with 6.15.12, which is not available in F-Droid anymore. I have manually downloaded this version a couple of weeks ago to have a working version of Simple Calendar for the time being if I had to reinstall it.) |
@Tentos thanks for your hint, installed yesterday after having uninstalled the other version. @tibbi your suggested version solves the issue for me, SimpleCalendar now does not even show up in battery using app statistics, currently. What are your plans to merge this app version with the current trunk? |
Unfortunately, the problem occurs with this version when I save an existing calendar entry on CalDAV. I have to force-stop the calendar app in the Android app info, and the frequent updates stop. |
Confirmed :( As soon as you create a new event or update an existing event, the "Sending local deletes/updates to server” every minute starts again... |
are you using Birthday adapter by any chance? |
As I wasn't aware of this app until now, I just double checked: NO, not installed. |
possible fix found, please check #1037 (comment) |
This indeed seems to fix the problem. I have modified some calendar entries, and the frequent updates did not happen anymore. :) |
okay, Ill close it then, let me know if it wont work in the new version 6.17.0. Thanks |
I can confirm that the fix also works in Version 6.17.0 (in my case, the F-Droid build). Thank you for your work! |
Hi,
I have a similar situation as #1110, but as this was fixed in 6.13, I guess this is a new issue. I'm seeing a constant CPU usage by com.simplemobiletools.calendar.pro between 50% and 150% in top (via termux). In addition, com.android.providers.calendar and system_server also seem unusually high. I have some calendars synced with DavX5 and some with Etesync.
I suspect that something triggers sync too often, but I'm not sure about that.
I will send you the logcat logs via email as I'm not sure I can sanitize them enough for the open internet.
App version: 6.15.4
Android version: 8.0.0
The text was updated successfully, but these errors were encountered: