| description:
|
This C++ code example demonstrates the APIs that are available for figuring out battery, charger, and network status. It also demonstrates how to implement some of the power and resource management principles that have been discussed in the document S60 Platform: Effective Power and Resource Management. The updated example has been tested to support S60 5th Edition and touch UI.
Main classes: CTelephony, CIdle, CActive.
|
| type:
|
Example
|
| topics:
|
Base/System
Optimization
Power Management
Quality
S60
S60 3rd Edition
S60 5th Edition
Symbian C++
|
| intended audience:
|
Intermediate
|
S60 Platform: Power and Resource Management Example v2.1
This updated C++ code example demonstrates the APIs that are available for figuring out battery, charger, and network status. It also demonstrates how to implement some of the power and resource management principles that have been discussed in the document S60 Platform: Effective Power and Resource Management. The updated example has been tested to support S60 5th Edition and touch UI. Main classes: CTelephony, CIdle, CActive.
Zip Archive (.zip); English (en)09-Feb-2009 
|
| see also:
|
S60 Platform: System Information Example v2.0
S60 Platform: Effective Power and Resource Management
|
Additional information
| distribution:
|
Forum Nokia Global Web Site
S60 Web Site
|
| publication rights:
|
Copyright © 2004-2009 Nokia Corporation.
|
<< Back to Previous Page
RDF Facets:
qdcZdescriptionQSxThisE20CE2bE2bE20codeE20eE78ampleE20demonstratesE20theE20APIsE20thatE20areE20availableE20forE20figuringE20outE20batteryE2cE20chargerE2cE20E0aandE20networkE20statusE2eE20ItE20alsoE20demonstratesE20howE20toE20implementE20someE20ofE20theE20powerE20andE20resourceE20managementE20principlesE20thatE20haveE20beenE20discussedE20inE20theE20documentE20S60E20PlatformE3aE20E45ffectiveE20PowerE20andE20E52esourceE20ManagementE2eE20TheE20updatedE20eE78ampleE20hasE20beenE20testedE20toE20supportE20S60E205thE20E45ditionE20andE20touchE20UIE2eE20MainE20classesE3aE20CTelephonyE2cE20CIdleE2cE20CActiveE2eX
qdcZidentifierQSxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2fbd0a0e92E2d8f33E2d4cc8E2da562E2d55b3c546a463E2fS60E5fPlatformE5fPowerE5fandE5fE52esourceE5fManagementE5fE45E78ampleX
qdcZrelationQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f0ed33abdE2d9548E2d4c9eE2d85c7E2daa8fa8d9b313E2fS60E5fPlatformE5fE45ffectiveE5fPowerE5fandE5fE52esourceE5fManagementX
qdcZrelationQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f1bd6bf54E2d7886E2d43a5E2d8335E2d821bcb603049E2fS60E5fPlatformE5fSystemE5fInformationE5fE45E78ampleE5fv2E5f0E5fenE2ezipX
qdcZtitleQSxS60E20PlatformE3aE20PowerE20andE20E52esourceE20ManagementE20E45E78ampleX
qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ
qdcZtypeQUqfnZE45E78cludedFromSearchQ
qdcZtypeQUqfnZPrimaryE52esourceQ
qdcZtypeQUqfntypeZApplicationQ
qdcZtypeQUqfntypeZE45E78ampleQ
qdcZtypeQUqfntypeZE52esourceQ
qdcZtypeQUqmarsZManagedE52esourceQ
qdcZtypeQUqmarsZMediaObjectQ
qdcZtypeQUqwebZInformationE52esourceQ
qdcZtypeQUqwebZE52esourceQ
qdcZtypeQUqrdfsZE52esourceQ
qrssZdescriptionQSxThisE20CE2bE2bE20codeE20eE78ampleE20demonstratesE20theE20APIsE20thatE20areE20availableE20forE20figuringE20outE20batteryE2cE20chargerE2cE20E0aandE20networkE20statusE2eE20ItE20alsoE20demonstratesE20howE20toE20implementE20someE20ofE20theE20powerE20andE20resourceE20managementE20principlesE20thatE20haveE20beenE20discussedE20inE20theE20documentE20S60E20PlatformE3aE20E45ffectiveE20PowerE20andE20E52esourceE20ManagementE2eE20TheE20updatedE20eE78ampleE20hasE20beenE20testedE20toE20supportE20S60E205thE20E45ditionE20andE20touchE20UIE2eE20MainE20classesE3aE20CTelephonyE2cE20CIdleE2cE20CActiveE2eX
qrssZtitleQSxS60E20PlatformE3aE20PowerE20andE20E52esourceE20ManagementE20E45E78ampleX
qeditorZdescriptionE5fcreatedQDx2009E2d02E2d06T09E3a57E3a38E5aX
qeditorZdescriptionE5fmodifiedQDx2009E2d02E2d09T06E3a33E3a37E5aX
qeditorZtypeQUqfntypeZApplicationQ
qeditorZtypeQUqfntypeZE45E78ampleQ
qeditorZtypeQUqfntypeZE52esourceQ
qfnZallowedE5fcountryE5fgroupQUqfnCountryGroupZBQ
qfnZaudienceQUqfnAudienceZintermediateQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZaudienceQUqfnAudienceZtechnicalQRqmarsZrelevanceQNx100X
qfnZdistributionQUxhttpE3aE2fE2fforumE2enokiaE2ecomE2fX
qfnZdistributionQUxhttpE3aE2fE2fwwwE2es60E2ecomE2fX
qfnZeE78portE5fcontrolE5fcommodityE5fnumberQSx99X
qfnZpublishedQDx2009E2d02E2d09T00E3a00E3a00E5aX
qfnZtopicQUqfnTopicZbaseE5fsystemQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZcppQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZoptimizationQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZpowerE5fmanagementQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZE71ualityQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZseriesE5f60QRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZseriesE5f60E5f3edQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZseriesE5f60E5f5edQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X
qfnZtypeQUqfntypeZApplicationQ
qfnZtypeQUqfntypeZE45E78ampleQ
qfnZtypeQUqfntypeZE52esourceQ
qfnZusE5foriginQLqE78sdZbooleanQxtrueX
qfnZE78mlE5fdescriptionQXxE0aE3cspanE20E78mlnsE3dE22httpE3aE2fE2fwwwE2ew3E2eorgE2f1999E2fE78htmlE22E3eThisE20CE2bE2bE20codeE20eE78ampleE20demonstratesE20theE20APIsE20thatE20areE20availableE20forE20figuringE20outE20batteryE2cE20chargerE2cE20andE20networkE20statusE2eE20ItE20alsoE20demonstratesE20howE20toE20implementE20someE20ofE20theE20powerE20andE20resourceE20managementE20principlesE20thatE20haveE20beenE20discussedE20inE20theE20documentE20E3caE20targetE3dE22E5fblankE22E20hrefE3dE22httpE3aE2fE2fwwwE2eforumE2enokiaE2ecomE2finfoE2fswE2enokiaE2ecomE2fidE2f0ed33abdE2d9548E2d4c9eE2d85c7E2daa8fa8d9b313E2fS60E5fPlatformE5fE45ffectiveE5fPowerE5fandE5fE52esourceE5fManagementE2ehtmlE22E3eS60E20PlatformE3aE20E45ffectiveE20PowerE20andE20E52esourceE20ManagementE3cE2faE3eE2eE20TheE20updatedE20eE78ampleE20hasE20beenE20testedE20toE20supportE20S60E205thE20E45ditionE20andE20touchE20UIE2eE3cbrE3eE3cE2fbrE3eE3cbrE3eE3cE2fbrE3eMainE20classesE3aE20CTelephonyE2cE20CIdleE2cE20CActiveE2eE3cE2fspanE3eE20E20E20E20E20E20X
qmarsZdescriptionQSxThisE20CE2bE2bE20codeE20eE78ampleE20demonstratesE20theE20APIsE20thatE20areE20availableE20forE20figuringE20outE20batteryE2cE20chargerE2cE20E0aandE20networkE20statusE2eE20ItE20alsoE20demonstratesE20howE20toE20implementE20someE20ofE20theE20powerE20andE20resourceE20managementE20principlesE20thatE20haveE20beenE20discussedE20inE20theE20documentE20S60E20PlatformE3aE20E45ffectiveE20PowerE20andE20E52esourceE20ManagementE2eE20TheE20updatedE20eE78ampleE20hasE20beenE20testedE20toE20supportE20S60E205thE20E45ditionE20andE20touchE20UIE2eE20MainE20classesE3aE20CTelephonyE2cE20CIdleE2cE20CActiveE2eXRqdcZtypeQUqrdfsZE52esourceQRqfnZpreserveE5fformattingQLqE78sdZbooleanQxtrueX
qmarsZdescriptionQSxThisE20CE2bE2bE20codeE20eE78ampleE20demonstratesE20theE20APIsE20thatE20areE20availableE20forE20figuringE20outE20batteryE2cE20chargerE2cE20E0aandE20networkE20statusE2eE20ItE20alsoE20demonstratesE20howE20toE20implementE20someE20ofE20theE20powerE20andE20resourceE20managementE20principlesE20thatE20haveE20beenE20discussedE20inE20theE20documentE20S60E20PlatformE3aE20E45ffectiveE20PowerE20andE20E52esourceE20ManagementE2eE20TheE20updatedE20eE78ampleE20hasE20beenE20testedE20toE20supportE20S60E205thE20E45ditionE20andE20touchE20UIE2eE20MainE20classesE3aE20CTelephonyE2cE20CIdleE2cE20CActiveE2eXRqdcZtypeQUqrdfsZE52esourceQRqfnZpreserveE5fformattingQLqE78sdZbooleanQxtrueX
qmarsZhasInstanceQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f6e76222aE2d11f0E2d4fb5E2da89eE2d39338fae856dE2fS60E5fPlatformE5fPowerE5fandE5fE52esourceE5fManagementE5fE45E78ampleE5fv2E5f1E5fenE2ezipX
qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX
qmarsZtitleQSxS60E20PlatformE3aE20PowerE20andE20E52esourceE20ManagementE20E45E78ampleX
qncZrightsQSxCopyrightE20Ea9E202004E2d2009E20NokiaE20CorporationE2eX
qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ
qrdfZtypeQUqfnZE45E78cludedFromSearchQ
qrdfZtypeQUqfnZPrimaryE52esourceQ
qrdfZtypeQUqfntypeZApplicationQ
qrdfZtypeQUqfntypeZE45E78ampleQ
qrdfZtypeQUqfntypeZE52esourceQ
qrdfZtypeQUqmarsZManagedE52esourceQ
qrdfZtypeQUqmarsZMediaObjectQ
qrdfZtypeQUqwebZInformationE52esourceQ
qrdfZtypeQUqwebZE52esourceQ
qrdfZtypeQUqrdfsZE52esourceQ
qrdfsZseeAlsoQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f0ed33abdE2d9548E2d4c9eE2d85c7E2daa8fa8d9b313E2fS60E5fPlatformE5fE45ffectiveE5fPowerE5fandE5fE52esourceE5fManagementX
qrdfsZseeAlsoQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f1bd6bf54E2d7886E2d43a5E2d8335E2d821bcb603049E2fS60E5fPlatformE5fSystemE5fInformationE5fE45E78ampleE5fv2E5f0E5fenE2ezipX