This resource is archived because it is not considered relevant for developers creating commercial solutions today.
The resource is believed to be still valid for the original topic scope.
This updated C++ code example demonstrates the APIs that are available for figuring out battery, charger, and network status. It also demonstrates some of the techniques and principles described in the document S60 Platform: Effective Power and Resource Management (available at www.forum.nokia.com), including the use of active objects and multiple threads. It is recommended that the document is read before studying the example. Main classes: CTelephony, RSystemAgent, TSysAgentEvent, CIdle, CActive.
S60 3rd Edition, S60 2nd Edition, S60 1st Edition. Tested with Nokia 3650, Nokia 6630, Nokia N90, Nokia E60, Nokia E61, and Nokia N71. Created / tested with S60 2nd Edition SDK for Symbian OS, Supporting Feature Pack 2, for C++, Supporting Metrowerks CodeWarrior and S60 3rd Edition SDK for Symbian OS, for C++.