The Following User Says Thank You to MasterZap For This Useful Post: | ||
|
2011-05-23
, 20:42
|
|
Posts: 2,050 |
Thanked: 1,425 times |
Joined on Dec 2009
@ Bucharest
|
#122
|
|
2011-05-24
, 05:37
|
Posts: 214 |
Thanked: 140 times |
Joined on Aug 2010
|
#123
|
15 seconds is plenty with a-GPS.
Configuration of timeout could be nice, but if it's not locked in 15 secs you probably don't have a-GPS or haven't locked before, meaning the next timeout is the full GPS cycle of 90 seconds plus in perfect conditions, 4-5 minutes under less than ideal. It's a bit on the large side?
|
2011-05-24
, 06:53
|
Posts: 214 |
Thanked: 140 times |
Joined on Aug 2010
|
#124
|
|
2011-05-24
, 07:15
|
Posts: 210 |
Thanked: 37 times |
Joined on Nov 2010
|
#125
|
|
2011-05-24
, 07:18
|
Posts: 214 |
Thanked: 140 times |
Joined on Aug 2010
|
#126
|
|
2011-05-24
, 07:20
|
|
Posts: 168 |
Thanked: 206 times |
Joined on Apr 2010
@ Finland
|
#127
|
~ $ ps -w|grep zap*
18575 user 125m S /usr/bin/python /opt/zaploc/zaploc.py
18609 user 50072 S /usr/bin/python /opt/zaploc/zaploc-daemon.py -d
19116 user 50072 S /usr/bin/python /opt/zaploc/zaploc-daemon.py -d
19150 user 50072 S /usr/bin/python /opt/zaploc/zaploc-daemon.py -d
|
2011-05-24
, 08:12
|
Posts: 650 |
Thanked: 497 times |
Joined on Oct 2008
@ Ghent, Belgium
|
#128
|
The new logic would be:
- if "background updates" is on, daemon starts at boot and never stops
- If "background updates" is off, daemon either a) doesn't run at all, or b) just runs while the main program is visible.
My questions to you:
#1 Does this change make sense?
#2 Should it do a) or b) for "background updates"=Off mode?
|
2011-05-24
, 09:05
|
Posts: 13 |
Thanked: 1 time |
Joined on Feb 2010
|
#129
|
- if "background updates" is on, daemon starts at boot and never stops
- If "background updates" is off, daemon either a) doesn't run at all, or b) just runs while the main program is visible.
|
2011-05-24
, 09:06
|
Posts: 214 |
Thanked: 140 times |
Joined on Aug 2010
|
#130
|
Thanks for the great application!
Should I have several zaploc-daemon.py running parallel? After 1st start I have.
After each start of ZapLoc there will be a new zaploc-daemon.py running in addition to old ones. Does not matter if background updating is set to stop when app closes or not. Battery drain is also quite huge after enabling Zaplog even updates should happen in every 30min. Drain remains also after disabling background updates.
I can quite trivially add a switch in the configuration for that, or a keyboard toggle, or whatever.
I should probably increase that a little, 15 seconds is pretty tight... it's okay when you have good signal (like I have out on the countryside where I live) but in a tighter scenario it's probably touch-and-go. I will increase this timeout.
/Z