I need a service (a piece of program) running while the device goes into sleep mode

We developed a game, but all services stop while the device goes into sleep mode.
Anyone can help me to solve the problem, I need a service (a piece of program) running while the device goes into sleep mode? How can I do it? Thanks. [import]uid: 152784 topic_id: 30182 reply_id: 330182[/import]

i’m afraid it only works with a server
There are some workarounds to run a timer in “background” but that’s it

[import]uid: 98393 topic_id: 30182 reply_id: 120848[/import]

Do you have a link for the background timer workaround? [import]uid: 102112 topic_id: 30182 reply_id: 120866[/import]

https://developer.coronalabs.com/forum/2012/08/07/there-way-keep-timer-running-when-app-switched-or-standby

[import]uid: 98393 topic_id: 30182 reply_id: 120881[/import]

i’m afraid it only works with a server
There are some workarounds to run a timer in “background” but that’s it

[import]uid: 98393 topic_id: 30182 reply_id: 120848[/import]

Do you have a link for the background timer workaround? [import]uid: 102112 topic_id: 30182 reply_id: 120866[/import]

https://developer.coronalabs.com/forum/2012/08/07/there-way-keep-timer-running-when-app-switched-or-standby

[import]uid: 98393 topic_id: 30182 reply_id: 120881[/import]