07/20/2012, 01:06 AM
|
#1 (permalink) |
|
Member
Posts: 310
|
Hi there. This is my first attempt at publishing a patch.
![]() This patch for webOS 2.2.4 lets you change how often calendars and contacts sync for Google, Yahoo, Facebook, and LinkedIn. webOS normally syncs Google and Yahoo every 20 minutes, and Facebook and LinkedIn every 24 hours, with no way to change the frequency. Another way of looking at it is that if you have a Google account and a Yahoo account (or two Google accounts, etc) with calendar and contacts for both, your phone is syncing up to 2 x 2 x 3 = 12 times per hour. This patch, which requires Tweaks, allows you to change the sync frequency to 15m, 20m, 30m, 1h, 3h, 6h, 24h, or 48h. It also allows you to disable syncing when wifi is not available, or when the battery is below some percentage. So far I've only done some limited testing, so I need your help. If you're running 2.2.4, are technically-inclined and not afraid to get your feet wet -- or have to remove/readd your accounts, or in the worst case, doctor your device -- then please try this out. EDIT: Now available in Preware! First, I'm assuming you already have Tweaks and WebOS Quick Install set up. Install the attached patch. Then take the attached tweakable-pimsync-frequency.json.txt and rename it to tweakable-pimsync-frequency.json . Install the json file to /media/cryptofs/apps/usr/palm/services/org.webosinternals.tweaks.prefs/preferences/ on the device. After that, you can open Tweaks and change the sync settings under the "contacts" and "calendar" categories. The changes will not take affect until you sync each account -- you can do this easily by opening the contacts/calendar app and selecting "sync now" from the menu. To remove, delete the patch from WebOS Quick Install or the Preware package manager. Note that any settings you set will continue to apply to any existing accounts after you uninstall the patch. There's one additional change that the patch applies, which is a fix for calendar/contact sync times being erratic when the device is idle. The patch makes syncs happen on a regular interval. This could mean more syncs in some cases (see the 12x per hour number above), including for the default 20m sync, but the syncs will be faster so it's not certain if the power drain will be better or worse. If you're finding worse power usage at the 20+ minute settings than without the patch, let me know. To fully undo the change, after removing the patch you'll need to add/remove the accounts (via the accounts app), or at minimum, go into the accounts app and toggle off contacts/calendar, swipe back, open the account again, and turn them back on. If the patch works well, I'll look into making a 2.1.0 version of the patch. I've also attached a 3.0.5 version but it's completely untested. P.S. Don't try to add any settings to the json file unless you know what you're doing. The scheduler that webOS uses will puke if you give it an interval that isn't an exact multiple of certain values. Last edited by greenoyster; 10/29/2012 at 12:31 AM. |
07/20/2012, 09:51 AM
|
#2 (permalink) |
|
Member
Posts: 249
|
Is there any way to force a complete calendar sync refresh equivalent to deleting the account and re-adding it, which is what I have to do now? My Yahoo calendar only syncs correctly for a couple of days at a time. Then it seems to miss a sync, and from then on the new items do not appear. I'm guessing it's because they are now marked as already-synced somewhere, even though they are not on the TP calendar. Maybe there's a way to force the complete refresh once a day?
|
07/20/2012, 11:15 AM
|
#3 (permalink) | |
|
Member
|
Does this patch also modify "Microsoft Exchange Active Sync" Synergy Account synctimes in webOS? I wanted to find exactly this, cause i just made a docu for Building your own cloud with Zarafa using EAS to sync and didn't want to sync all the time.
Quote:
__________________
Patch Enhancing vCard Export -|- Your own cloud with Zarafa (EAS sync) -|- Tasks-app of 2.x on 3.x incl.EAS sync -|- SYM key in Enyo on phones -|- My hidden webOS Tips and Tricks - like it ?
|
|
07/20/2012, 12:23 PM
|
#4 (permalink) | ||
|
Member
Posts: 310
|
Quote:
Quote:
Might be doable but it would take some work. Right now it just adds a "require wifi" flag to the sync task but the scheduler doesn't have a ssid option. |
||
11/06/2012, 09:47 PM
|
#6 (permalink) |
|
Member
![]() |
Have you looked at EAS enough to know if is possible to add a 'peak/off-peak' hours feature like most other smartphones have for EAS? That is one feature I've missed since I got my Pre in '09.
__________________
Matt Williams Developer of: SMS Auto Forward/Reply, GPS Viewer, Keyring converters for CSV, eWallet, & CodeWallet Touchpad Patches: Keyring HD, ClassicNote HD, YouTube HD (for 2.1 app) |
11/07/2012, 02:52 AM
|
#7 (permalink) | ||
|
Member
Posts: 310
|
Quote:
Quote:
You might be able to use Mode Switcher to change the sync frequency preference to a different value at night, though. |
||
12/11/2012, 05:40 PM
|
#8 (permalink) |
|
Member
![]()
Posts: 116
|
Thanks for this great patch!!! The best of all!!!
![]() Thanks to this patch I can save battery power and my Pre 2 no longer slows at syncs my calendar and contacts accounts!!! This gives me a better browsing experience and a faster device than before!!! MANY THANKS greenoyster!!!
__________________
El Sendero del Samurai: Lealtad, Paz Interna, Paciencia y Meditar a los pies de Buda. HP Prē 3 + webOS 2.2.4 / Palm Prē 2 + webOS 2.2.4 / iPod Touch 5 + iOS 6.1.3 / iPad 2 + iOS 5.1.1 + Jailbreak / Palm LifeFlash Sandisk + SDHC 32Gb |
12/11/2012, 06:54 PM
|
#10 (permalink) | |
|
Member
![]()
Posts: 116
|
Quote:
__________________
El Sendero del Samurai: Lealtad, Paz Interna, Paciencia y Meditar a los pies de Buda. HP Prē 3 + webOS 2.2.4 / Palm Prē 2 + webOS 2.2.4 / iPod Touch 5 + iOS 6.1.3 / iPad 2 + iOS 5.1.1 + Jailbreak / Palm LifeFlash Sandisk + SDHC 32Gb |
|
12/11/2012, 11:53 PM
|
#11 (permalink) | |
|
Member
![]()
Posts: 100
|
Quote:
__________________
Palm III> Visor> Visorphone> Treo 180> 270> 600> 650> 680> Centro> HTC Tilt> BB-8310> Pixi-Plus> Pre 3 Touchpad 16GB Last edited by jmdesai; 12/11/2012 at 11:54 PM. Reason: typo |
|
12/11/2012, 11:57 PM
|
#12 (permalink) | |
|
Member
![]()
Posts: 116
|
Quote:
__________________
El Sendero del Samurai: Lealtad, Paz Interna, Paciencia y Meditar a los pies de Buda. HP Prē 3 + webOS 2.2.4 / Palm Prē 2 + webOS 2.2.4 / iPod Touch 5 + iOS 6.1.3 / iPad 2 + iOS 5.1.1 + Jailbreak / Palm LifeFlash Sandisk + SDHC 32Gb |
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



