|
2014-01-09
, 16:31
|
|
Posts: 141 |
Thanked: 267 times |
Joined on May 2010
@ Germany
|
#12
|
|
2014-01-09
, 16:34
|
|
Posts: 562 |
Thanked: 2,744 times |
Joined on Dec 2013
@ Espoo, Finland
|
#13
|
|
2014-01-09
, 16:36
|
Posts: 2,076 |
Thanked: 3,268 times |
Joined on Feb 2011
|
#14
|
Jolla takes a deep sleeps, and timers are running but they run sloooow.
I have 1 second timers which takes sometimes about 2 minutes to trigger.
Your 5 minute timer can be many hours in worst case.
It is possible to trigger timer e.g. every 1s, and check how long time it has gone from the last trigger, if it is about 5 minutes, make your update.
The Following 3 Users Say Thank You to szopin For This Useful Post: | ||
|
2014-01-09
, 16:38
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#15
|
As long as the screen is on, it's fully functional but if the screen is off the script won't update. It seems that the jolla goes into some kind of sleep state, because when I turn the screen on, the script updates after some time.
The Following User Says Thank You to javispedro For This Useful Post: | ||
|
2014-01-09
, 16:47
|
Posts: 2,076 |
Thanked: 3,268 times |
Joined on Feb 2011
|
#16
|
Welcome to Android! http://talk.maemo.org/showthread.php?t=92183
This phone is sadly not as friendly to simple scripts as Maemo devices where...
|
2014-01-09
, 17:20
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#17
|
The Following User Says Thank You to javispedro For This Useful Post: | ||
|
2014-01-09
, 18:47
|
|
Posts: 141 |
Thanked: 267 times |
Joined on May 2010
@ Germany
|
#18
|
echo asdf > /sys/power/wake_unlock
|
2014-01-10
, 10:37
|
Posts: 38 |
Thanked: 17 times |
Joined on Jun 2008
|
#19
|
|
2014-01-10
, 10:41
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#20
|
Ouch, this is bad!
Then atm it would be possible to deactive this behavoir when starting my script and reset to "normal" when finishing?
The Following User Says Thank You to javispedro For This Useful Post: | ||
This thread is for tinkering.