Thread
:
Dialcentral 1.0
View Single Post
epage
2010-01-08 , 04:24
Posts: 1,684 | Thanked: 1,562 times | Joined on Jun 2008 @ Austin, TX
#
1019
The One Ring update:
Summary: Broken on Desktop and still broken on n900
I finally fixed the icon so it uses one of the right size.
There is a breaking difference between my version of python-telepathy on my desktop and the one on my n900. I'm slowly working on making The One Ring support both versions. Fortunately I get no major errors on the n900 like before but it still doesn't work with the UI. Sadly I spread that bad UI behavior to my desktop.
I did implement something kind of cool for the battery nazis.
Previously I would load the addressbook and never update it. I would check for new voicemails and texts every min(10*2^n seconds, 2 minutes) with n being the number of updates since a text was sent or received or every 10 minutes when idle.
Problems
* The addressbook were never updated
* Voicemails were being updated in association with sending and receiving texts which seemed odd
* There was no constant factor in updating the texts/voicemails, leading to either high latency or heavy cpu/network usage
I broke out the updating state machine into 3 state machines.
Addressbook
* When hidden, doesn't update
* When idle, updates every 6 hours
* When available, updates every hour
Voicemail
* When hidden, doesn't update
* When idle, updates every 30 minutes
* When available, updates every 5 minutes
Texts
* When hidden, doesn't update
* When idle, updates every 30 minutes
* When available, updates every min(10+2^n seconds, 10 minutes), n being the number of updates since the last text was sent or received.
I plan to eventually make those numbers configurable including setting them to never update.
__________________
770, n810, n900, Ideapad S10-3t
TheOneRing
,
DialCentral
,
Gonvert
,
Quicknote
,
Multilist
,
ejpi
,
nQa
,
Waters of Shiloah
Programming Blog
Quote & Reply
|
The Following 3 Users Say Thank You to epage For This Useful Post:
iKneaDough
,
qole
,
Texrat
epage
View Public Profile
Send a private message to epage
Visit epage's homepage!
Find all posts by epage