The application works fine. The only problem is that battery fails after about 24 hours, even though no one connects. Does any one have any clues as to why the battery could be dying so quickly? If I close the application, the phone lasts several days.
The problem is that bluetooth is active. So even if no one connects it will be listening for incoming connections, and this will empty the battery. It is possible to change the moments (frecuency) that BT is listening for other devices, but I think it is not supported on Symbian OS.
Thanks for the quick response ajsanchez. I realise that activating the Bluetooth module will cause a drain on the battery. However, if I disable my application and enable Bluetooth, the battery lasts for several days. If activate my application, it lasts one day. I am beginning to think that there must be some difference in the way that my application handles connections, compared to they way that the Symbian OS ROM side applications handle them.