View Single Post
Gusse's Avatar
Posts: 168 | Thanked: 206 times | Joined on Apr 2010 @ Finland
#178
I have an issue with Zaploc and network connection.
I'm using "AutoDisconnect" to kill unused network connection to save the battery. If there is less than 2kB/min during 3min period, connection will be closed.

ZapLoc should update location but without connection it makes an error.
Code:
20:13:11: Got loc data xx.465109,yy.356086 (acc 206.965000), head 2.250000, speed 1.584000, Mode 2 (Cell-tower), Try 0
20:13:11: Latitude update xx.465109,yy.356086 (acc 206.965000)
20:13:11: Error updating location <class 'httplib2.ServerNotFoundError'>
20:13:11: Sleeping... Zzzzz
20:13:11: Force-Sleeping [*bonk!*].... Zzzzzz
20:13:14: Got loc data xx.465109,yy.356086 (acc 206.965000), Mode 0 (Cached) - IGNORED
To sync the mails, phone is set to connect to net in every 30min. (internet connections). More detail explanation why and how is below.
AutoDisconnect Wiki and autosync

Phone Control (DBUS)
Connect to any saved connection
Disconnect internet (This is probably not needed due to usage of AutoDisconnect)

Could similar functionality be included to Zaploc?
Example: When ZapLoc is trying to update location, then run the dbus command to initiate connection (even if connection is already open).

EDIT: This could be like an additional option that user can select from background updates (force to open network connection)

Last edited by Gusse; 2011-05-31 at 07:33.