This resource has been superceded by a newer resource and is considered to be obsolete!
| file name:
|
S60_Platform_Power_and_Resource_Management_Example_v2_0_en.zip
|
| description:
|
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.
|
| type:
|
Example
|
| topics:
|
Base/System
Optimization
Power Management
Quality
S60
Symbian C++
|
| language:
|
English (en)
|
| encoding:
|
Zip Archive (.zip)
|
| intended audience:
|
Intermediate
|
| compatibility:
|
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++.
|
| see also:
|
S60 Platform: Effective Power and Resource Management v2.0
S60 Platform: System Information Example v2.0
|
|
Additional information
<< Back to Previous Page
RDF Facets:
qdcZdescriptionQSxThisE20updatedE20CE2bE2bE20codeE20eE78ampleE20demonstratesE20theE20APIsE20thatE20areE20availableE20forE20E0afiguringE20outE20batteryE2cE20chargerE2cE20andE20networkE20statusE2eE20ItE20alsoE20demonstratesE20someE20ofE20theE20E0atechniE71uesE20andE20principlesE20describedE20inE20theE20documentE20S60E20PlatformE3aE20E45ffectiveE20E0aPowerE20andE20E52esourceE20ManagementE20E28availableE20atE20wwwE2eforumE2enokiaE2ecomE29E2cE20includingE20E0atheE20useE20ofE20activeE20objectsE20andE20multipleE20threadsE2eE20ItE20isE20recommendedE20thatE20theE20E0adocumentE20isE20readE20beforeE20studyingE20theE20eE78ampleE2eE20E0aE0aMainE20classesE3aE20CTelephonyE2cE20E52SystemAgentE2cE20TSysAgentE45ventE2cE20CIdleE2cE20CActiveE2eX
qdcZformatQNx107229X
qdcZidentifierQSxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f1ecb4b29E2d7875E2d4db2E2db277E2d43b3f6049df9E2fS60E5fPlatformE5fPowerE5fandE5fE52esourceE5fManagementE5fE45E78ampleE5fv2E5f0E5fenE2ezipX
qdcZrelationQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f11749ea6E2dafeeE2d46abE2d9e36E2d0d453b4d5a98E2fS60E5fPlatformE5fE45ffectiveE5fPowerE5fandE5fE52esourceE5fManagementE5fv2E5f0E5fenE2epdfX
qdcZrelationQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f1bd6bf54E2d7886E2d43a5E2d8335E2d821bcb603049E2fS60E5fPlatformE5fSystemE5fInformationE5fE45E78ampleE5fv2E5f0E5fenE2ezipX
qdcZtitleQSxS60E20PlatformE3aE20PowerE20andE20E52esourceE20ManagementE20E45E78ampleE20v2E2e0X
qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ
qdcZtypeQUqfnZPrimaryE52esourceQ
qdcZtypeQUqfntypeZApplicationQ
qdcZtypeQUqfntypeZE45E78ampleQ
qdcZtypeQUqfntypeZE52esourceQ
qdcZtypeQUqmarsZManagedE52esourceQ
qdcZtypeQUqwebZInformationE52esourceQ
qdcZtypeQUqwebZE52esourceQ
qdcZtypeQUqrdfsZE52esourceQ
qdctermsZeE78tentQNx107229X
qrssZdescriptionQSxThisE20updatedE20CE2bE2bE20codeE20eE78ampleE20demonstratesE20theE20APIsE20thatE20areE20availableE20forE20E0afiguringE20outE20batteryE2cE20chargerE2cE20andE20networkE20statusE2eE20ItE20alsoE20demonstratesE20someE20ofE20theE20E0atechniE71uesE20andE20principlesE20describedE20inE20theE20documentE20S60E20PlatformE3aE20E45ffectiveE20E0aPowerE20andE20E52esourceE20ManagementE20E28availableE20atE20wwwE2eforumE2enokiaE2ecomE29E2cE20includingE20E0atheE20useE20ofE20activeE20objectsE20andE20multipleE20threadsE2eE20ItE20isE20recommendedE20thatE20theE20E0adocumentE20isE20readE20beforeE20studyingE20theE20eE78ampleE2eE20E0aE0aMainE20classesE3aE20CTelephonyE2cE20E52SystemAgentE2cE20TSysAgentE45ventE2cE20CIdleE2cE20CActiveE2eX
qrssZtitleQSxS60E20PlatformE3aE20PowerE20andE20E52esourceE20ManagementE20E45E78ampleE20v2E2e0X
qeditorZdescriptionE5fcreatedQDx2007E2d01E2d03X
qeditorZdescriptionE5fmodifiedQDx2009E2d02E2d09T06E3a30E3a51E5aX
qeditorZtypeQUqfntypeZApplicationQ
qeditorZtypeQUqfntypeZE45E78ampleQ
qeditorZtypeQUqfntypeZE52esourceQ
qfnZallowedE5fcountryE5fgroupQUqfnCountryGroupZBQ
qfnZaudienceQUqfnAudienceZintermediateQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZaudienceQUqfnAudienceZtechnicalQRqmarsZrelevanceQNx100X
qfnZcompatibilityQSxS60E203rdE20E45ditionE2cE20S60E202ndE20E45ditionE2cE20S60E201stE20E45ditionE2eE0aTestedE20withE20NokiaE203650E2cE20NokiaE206630E2cE20NokiaE20N90E2cE20NokiaE20E4560E2cE20NokiaE20E4561E2cE20andE20NokiaE20N71E2eE0aCreatedE20E2fE20testedE20withE20S60E202ndE20E45ditionE20SE44KE20forE20SymbianE20OSE2cE20SupportingE20FeatureE20PackE20E0aE202E2cE20forE20CE2bE2bE2cE20SupportingE20MetrowerksE20CodeWarriorE20andE20S60E203rdE20E45ditionE20SE44KE20forE20E0aE20SymbianE20OSE2cE20forE20CE2bE2bE2eXRqdcZtypeQUqrdfsZE52esourceQRqfnZpreserveE5fformattingQLqE78sdZbooleanQxtrueX
qfnZcompatibilityQSxS60E203rdE20E45ditionE2cE20S60E202ndE20E45ditionE2cE20S60E201stE20E45ditionE2eE0aTestedE20withE20NokiaE203650E2cE20NokiaE206630E2cE20NokiaE20N90E2cE20NokiaE20E4560E2cE20NokiaE20E4561E2cE20andE20NokiaE20N71E2eE0aCreatedE20E2fE20testedE20withE20S60E202ndE20E45ditionE20SE44KE20forE20SymbianE20OSE2cE20SupportingE20FeatureE20PackE20E0aE202E2cE20forE20CE2bE2bE2cE20SupportingE20MetrowerksE20CodeWarriorE20andE20S60E203rdE20E45ditionE20SE44KE20forE20E0aE20SymbianE20OSE2cE20forE20CE2bE2bE2eXRqdcZtypeQUqrdfsZE52esourceQRqfnZpreserveE5fformattingQLqE78sdZbooleanQxtrueX
qfnZdistributionQUxhttpE3aE2fE2fforumE2enokiaE2ecomE2fX
qfnZeE78portE5fcontrolE5fcommodityE5fnumberQSx99X
qfnZfilenameQSxS60E5fPlatformE5fPowerE5fandE5fE52esourceE5fManagementE5fE45E78ampleE5fv2E5f0E5fenE2ezipX
qfnZpublishedQDx2007E2d01E2d08T00E3a00E3a00E5aX
qfnZrepresentationQLqeditorZAttachmentQxS60E5fPlatformE5fPowerE5fandE5fE52esourceE5fManagementE5fE45E78ampleE5fv2E5f0E5fenE2ezipX
qfnZsupersededByQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f6e76222aE2d11f0E2d4fb5E2da89eE2d39338fae856dE2fS60E5fPlatformE5fPowerE5fandE5fE52esourceE5fManagementE5fE45E78ampleE5fv2E5f1E5fenE2ezipX
qfnZtopicQUqfnTopicZbaseE5fsystemQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZcppQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZoptimizationQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZpowerE5fmanagementQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZE71ualityQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZseriesE5f60QRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtypeQUqfntypeZApplicationQ
qfnZtypeQUqfntypeZE45E78ampleQ
qfnZtypeQUqfntypeZE52esourceQ
qfnZupdatedQDx2009E2d02E2d09T06E3a30E3a51E5aX
qfnZusE5foriginQLqE78sdZbooleanQxtrueX
qmarsZdescriptionQSxThisE20updatedE20CE2bE2bE20codeE20eE78ampleE20demonstratesE20theE20APIsE20thatE20areE20availableE20forE20E0afiguringE20outE20batteryE2cE20chargerE2cE20andE20networkE20statusE2eE20ItE20alsoE20demonstratesE20someE20ofE20theE20E0atechniE71uesE20andE20principlesE20describedE20inE20theE20documentE20S60E20PlatformE3aE20E45ffectiveE20E0aPowerE20andE20E52esourceE20ManagementE20E28availableE20atE20wwwE2eforumE2enokiaE2ecomE29E2cE20includingE20E0atheE20useE20ofE20activeE20objectsE20andE20multipleE20threadsE2eE20ItE20isE20recommendedE20thatE20theE20E0adocumentE20isE20readE20beforeE20studyingE20theE20eE78ampleE2eE20E0aE0aMainE20classesE3aE20CTelephonyE2cE20E52SystemAgentE2cE20TSysAgentE45ventE2cE20CIdleE2cE20CActiveE2eXRqdcZtypeQUqrdfsZE52esourceQRqfnZpreserveE5fformattingQLqE78sdZbooleanQxtrueX
qmarsZdescriptionQSxThisE20updatedE20CE2bE2bE20codeE20eE78ampleE20demonstratesE20theE20APIsE20thatE20areE20availableE20forE20E0afiguringE20outE20batteryE2cE20chargerE2cE20andE20networkE20statusE2eE20ItE20alsoE20demonstratesE20someE20ofE20theE20E0atechniE71uesE20andE20principlesE20describedE20inE20theE20documentE20S60E20PlatformE3aE20E45ffectiveE20E0aPowerE20andE20E52esourceE20ManagementE20E28availableE20atE20wwwE2eforumE2enokiaE2ecomE29E2cE20includingE20E0atheE20useE20ofE20activeE20objectsE20andE20multipleE20threadsE2eE20ItE20isE20recommendedE20thatE20theE20E0adocumentE20isE20readE20beforeE20studyingE20theE20eE78ampleE2eE20E0aE0aMainE20classesE3aE20CTelephonyE2cE20E52SystemAgentE2cE20TSysAgentE45ventE2cE20CIdleE2cE20CActiveE2eXRqdcZtypeQUqrdfsZE52esourceQRqfnZpreserveE5fformattingQLqE78sdZbooleanQxtrueX
qmarsZeditionQNx2X
qmarsZencodingQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fencodingE2d1E2fzipX
qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX
qmarsZrevisionQNx0X
qmarsZsizeQNx107229X
qmarsZtitleQSxS60E20PlatformE3aE20PowerE20andE20E52esourceE20ManagementE20E45E78ampleE20v2E2e0X
qncZrightsQSxCopyrightE20Ea9E202007E20NokiaE20CorporationE2eX
qncZsupersededByQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f6e76222aE2d11f0E2d4fb5E2da89eE2d39338fae856dE2fS60E5fPlatformE5fPowerE5fandE5fE52esourceE5fManagementE5fE45E78ampleE5fv2E5f1E5fenE2ezipX
qncZsupersedesQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f525929ecE2df87aE2d42f9E2d8d19E2d709e7f9e20a0E2fSeriesE5f60E5fE44PE5fE45ffectiveE5fPowerE5fAndE5fE52esourceE5fManagementE5fv1E5f0E5fenE2ezipX
qwebZresolvesAsQUxhttpE3aE2fE2fwwwE2eforumE2enokiaE2ecomE2fdpE3furiE3dhttpE253AE252FE252FswE2enokiaE2ecomE252FidE252F1ecb4b29E2d7875E2d4db2E2db277E2d43b3f6049df9E252FS60E5fPlatformE5fPowerE5fandE5fE52esourceE5fManagementE5fE45E78ampleE5fv2E5f0E5fenE2ezipX
qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ
qrdfZtypeQUqfnZPrimaryE52esourceQ
qrdfZtypeQUqfntypeZApplicationQ
qrdfZtypeQUqfntypeZE45E78ampleQ
qrdfZtypeQUqfntypeZE52esourceQ
qrdfZtypeQUqmarsZManagedE52esourceQ
qrdfZtypeQUqwebZInformationE52esourceQ
qrdfZtypeQUqwebZE52esourceQ
qrdfZtypeQUqrdfsZE52esourceQ
qrdfsZseeAlsoQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f11749ea6E2dafeeE2d46abE2d9e36E2d0d453b4d5a98E2fS60E5fPlatformE5fE45ffectiveE5fPowerE5fandE5fE52esourceE5fManagementE5fv2E5f0E5fenE2epdfX
qrdfsZseeAlsoQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f1bd6bf54E2d7886E2d43a5E2d8335E2d821bcb603049E2fS60E5fPlatformE5fSystemE5fInformationE5fE45E78ampleE5fv2E5f0E5fenE2ezipX