SlideShare a Scribd company logo
WEBIST14, Barcelona, 4 April 2014
Evaluating impact of
cross-platform frameworks
in energy consumption
of mobile application
Matteo Ciman and Ombretta Gaggi
Department of Mathematics
University of Padua, Italy
{mciman, gaggi}@math.unipd.it
WEBIST14 – 10th International
Conference on Web Information
Systems and Technologies
Smartphones equipment
Smartphones equipped with ample set of sensors
WEBIST14, Barcelona, 4 April 2014 2 of 22
Mobile Sensing
 Data from sensors used for several purposes
 Activity recognition
 Mobile healthcare
 Augmented reality
WEBIST14, Barcelona, 4 April 2014 3 of 22
Mobile sensing problem
 Acquire and use data from smartphone sensors
consumes energy
 Higher precision requires more data
 Users always request longer battery life
WEBIST14, Barcelona, 4 April 2014 4 of 22
Smartphone application development
 Market fragmentation => higher costs to support
all mobile platforms
WEBIST14, Barcelona, 4 April 2014 5 of 22
Cross-platform frameworks
 Idea: write a single application in a framework
specific language that is after build into application
for the different target platforms
 4 different approaches: Web, Hybrid, Interpreted
and Cross Compiled
WEBIST14, Barcelona, 4 April 2014 6 of 22
Web Approach
WEBIST14, Barcelona, 4 April 2014 7 of 22
Web Approach - 2
+ No installation
+ Easy update
+ User interface reusable across platforms
- No access to app store
- Network delays and reduced performances
- Difficult to test
WEBIST14, Barcelona, 4 April 2014 8 of 22
Hybrid Approach
WEBIST14, Barcelona, 4 April 2014 9 of 22
Hybrid Approach - 2
+ Store access
+ Use of device features
- Reduced performances
- No native look and feel
WEBIST14, Barcelona, 4 April 2014 10 of 22
Interpreted Approach
WEBIST14, Barcelona, 4 April 2014 11 of 22
+ Store access
+ Native look and feel
+ Available API for smartphone features access
- Reduced performances
Interpreted Approach - 2
WEBIST14, Barcelona, 4 April 2014 12 of 22
Cross compiled approach
WEBIST14, Barcelona, 4 April 2014 13 of 22
+ Store access
+ Native look and feel
+ All smartphones features accessible
- No reusable user interface
- Difficulties in code conversion and application
build
Cross compiled Approach - 2
WEBIST14, Barcelona, 4 April 2014 14 of 22
Analysis objectives
 Analyze energy consumption of mobile
applications which acquire data from different
sensors
 Accelerometer
 Compass
 Microphone
 GPS
 Camera
 Compare the native solution with a cross-platform
application
WEBIST14, Barcelona, 4 April 2014 15 of 22
Related works
 Other authors already explored energy
consumption in smartphones
 Thompson et al. proposes a model-driven
methodology (SPOT, System Power Optimization
Tool) to estimate energy consumption before app
development
 AppScope (Yoon et al.) is an Android energy
metering system which estimate the usage of
hardware components
WEBIST14, Barcelona, 4 April 2014 16 of 22
Study setup
Monsoon Power Monitor
Information about «Energy consumption», «Average
current and power», «Expected battery life» etc.
WEBIST14, Barcelona, 4 April 2014 17 of 22
Study setup - 2
 Tested application: native, Phonegap (Hybrid
Approach) and Appcelerator Titanium (Interpreted
Approach)
 Data acquisition at different sampling rates (when
possible)
 Test smartphone: Samsung Galaxy i9250 (battery
capacity: 1750mAh)
WEBIST14, Barcelona, 4 April 2014 18 of 22
Applications
WEBIST14, Barcelona, 4 April 2014 19 of 22
Native Application Phonegap Application Titanium Application
Results
Native PhoneGap Titanium
Sensor Consumed
Energy
(mAh)
D (%) Consumed
Energy
(mAh)
D (%) Consumed
Energy
(mAh)
D (%)
Only App 7705,54 +27,42% 8130,85 +34,45% 7860,97 +29,99%
Accelerometer 9179,99 +51,80% 12849,82 +112,49% 11972,16* +97,97%*
Compass 9489,85 +56,93% 12124,6 +100,50% - -
Microphone
(Rec)
8120,92 +34,29% 8404,71 +38,98% - -
GPS 9301,48 +53,81% 9947,60 +64,50% 9577,27 +58,37%
Camera 21857,38 +261,44% 22347,52 +269,54% 22576,45 +273,33%
WEBIST14, Barcelona, 4 April 2014 20 of 22
Table 1. Energy consumption comparison between native applications and apps developed
with a framework for cross-platform development.
Energy consumption without running applications: 6047,31 mAh
Results - 2
Consumed energy increase (%)
Sensor 60ms 150ms 300ms 500ms
Accelerometer +112,49% +70,06% +49,48% +40,25%
Compass +100,50% +75,31% +52,92% +46,62%
WEBIST14, Barcelona, 4 April 2014 21 of 22
Table 2. Consumed energy using different sampling frequencies to capture data with
Phonegap
Conclusions
 Energy consumption comparison between native
and cross-platform developed applications
 Results useful to choose the right framework to
develop an application
 Actually, cross-platform frameworks use more
energy that reduce user experience and
acceptance
 Compared together, Phonegap requires less energy
 Future works: study HTML5 (in this case the
browser becomes important) and other
frameworks
WEBIST14, Barcelona, 4 April 2014 22 of 22
WEBIST14, Barcelona, 4 April 2014
Evaluating impact of
cross-platform frameworks
in energy consumption
of mobile application
Matteo Ciman and Ombretta Gaggi
Department of Mathematics
University of Padua, Italy
{mciman, gaggi}@math.unipd.it
WEBIST14 – 10th International
Conference on Web Information
Systems and Technologies

More Related Content

Similar to Evaluating impact of cross-platform frameworks in energy consumption of mobile applications

Vehicle fuel monitoring system using iot
Vehicle fuel monitoring system using iotVehicle fuel monitoring system using iot
Vehicle fuel monitoring system using iot
MarkaVikaskumar
 
An ATM with an Eye.pptx
An ATM with an Eye.pptxAn ATM with an Eye.pptx
An ATM with an Eye.pptx
VAMSYKRISHNA32
 
IRJET- University Campus Event Navigation System
IRJET-  	  University Campus Event Navigation System   IRJET-  	  University Campus Event Navigation System
IRJET- University Campus Event Navigation System
IRJET Journal
 
ISGAN Annex 2 Spotlight on Demand Management
ISGAN Annex 2 Spotlight on Demand ManagementISGAN Annex 2 Spotlight on Demand Management
ISGAN Annex 2 Spotlight on Demand Management
Leonardo ENERGY
 
Presentation: 10 Hot Consumer Trends 2015
Presentation: 10 Hot Consumer Trends 2015Presentation: 10 Hot Consumer Trends 2015
Presentation: 10 Hot Consumer Trends 2015
Ericsson Latin America
 
A Context-Aware Retrieval System for Mobile Applications
A Context-Aware Retrieval System for Mobile ApplicationsA Context-Aware Retrieval System for Mobile Applications
A Context-Aware Retrieval System for Mobile Applications
marcopavan83
 
AUTOMATED LEAK DETECTION SYSTEM FOR THE IMPROVEMENT OF WATER NETWORK MANAGEMENT
AUTOMATED LEAK DETECTION SYSTEM FOR THE IMPROVEMENT OF WATER NETWORK MANAGEMENTAUTOMATED LEAK DETECTION SYSTEM FOR THE IMPROVEMENT OF WATER NETWORK MANAGEMENT
AUTOMATED LEAK DETECTION SYSTEM FOR THE IMPROVEMENT OF WATER NETWORK MANAGEMENT
Waternomics
 
Ericsson ConsumerLab: Smart citizens Presentation
Ericsson ConsumerLab: Smart citizens PresentationEricsson ConsumerLab: Smart citizens Presentation
Ericsson ConsumerLab: Smart citizens Presentation
Ericsson
 
LAMPRE - User needs and communication approach to landslide hazards
LAMPRE - User needs and communication approach to landslide hazardsLAMPRE - User needs and communication approach to landslide hazards
LAMPRE - User needs and communication approach to landslide hazards
Umberto Pernice
 
Optimizing Monitorability of Multi-cloud Applications
Optimizing Monitorability of Multi-cloud ApplicationsOptimizing Monitorability of Multi-cloud Applications
Optimizing Monitorability of Multi-cloud Applications
Monica Vitali
 
Web-based Hybrid Mobile Apps: State of the Practice and Research opportunitie...
Web-based Hybrid Mobile Apps: State of the Practice and Research opportunitie...Web-based Hybrid Mobile Apps: State of the Practice and Research opportunitie...
Web-based Hybrid Mobile Apps: State of the Practice and Research opportunitie...
Ivano Malavolta
 
Quickpark
QuickparkQuickpark
Quickpark
kssp jahnavi
 
PRO-VAS: utilizing AR and VSLAM for mobile apps development in visualizing ob...
PRO-VAS: utilizing AR and VSLAM for mobile apps development in visualizing ob...PRO-VAS: utilizing AR and VSLAM for mobile apps development in visualizing ob...
PRO-VAS: utilizing AR and VSLAM for mobile apps development in visualizing ob...
TELKOMNIKA JOURNAL
 
HORIZON 2020 - Freemove proposal
HORIZON 2020 - Freemove proposalHORIZON 2020 - Freemove proposal
HORIZON 2020 - Freemove proposal
ICGCat
 
Requirement:HW6 Problem 2 Design a mobile robot capa.docx
Requirement:HW6 Problem 2 Design a mobile robot capa.docxRequirement:HW6 Problem 2 Design a mobile robot capa.docx
Requirement:HW6 Problem 2 Design a mobile robot capa.docx
audeleypearl
 
Location Based offers using Android Application
Location Based offers using Android ApplicationLocation Based offers using Android Application
Location Based offers using Android Application
IRJET Journal
 
User Activity Analysis Using Accelerometer and Cloud Computing
User Activity Analysis Using Accelerometer and Cloud ComputingUser Activity Analysis Using Accelerometer and Cloud Computing
User Activity Analysis Using Accelerometer and Cloud Computing
Marwan Issa
 
Autonomous Campus Tour Guide Robot by using Ultrasonic Range Sensors and QR c...
Autonomous Campus Tour Guide Robot by using Ultrasonic Range Sensors and QR c...Autonomous Campus Tour Guide Robot by using Ultrasonic Range Sensors and QR c...
Autonomous Campus Tour Guide Robot by using Ultrasonic Range Sensors and QR c...
ShwetonKedia
 
A 5 minute guide to delivering Flawless Mobile Apps
A 5 minute guide to delivering Flawless Mobile AppsA 5 minute guide to delivering Flawless Mobile Apps
A 5 minute guide to delivering Flawless Mobile Apps
Cygnet Infotech
 
Mobile semantic technology
Mobile semantic technologyMobile semantic technology
Mobile semantic technology
Thomas Kelly, PMP
 

Similar to Evaluating impact of cross-platform frameworks in energy consumption of mobile applications (20)

Vehicle fuel monitoring system using iot
Vehicle fuel monitoring system using iotVehicle fuel monitoring system using iot
Vehicle fuel monitoring system using iot
 
An ATM with an Eye.pptx
An ATM with an Eye.pptxAn ATM with an Eye.pptx
An ATM with an Eye.pptx
 
IRJET- University Campus Event Navigation System
IRJET-  	  University Campus Event Navigation System   IRJET-  	  University Campus Event Navigation System
IRJET- University Campus Event Navigation System
 
ISGAN Annex 2 Spotlight on Demand Management
ISGAN Annex 2 Spotlight on Demand ManagementISGAN Annex 2 Spotlight on Demand Management
ISGAN Annex 2 Spotlight on Demand Management
 
Presentation: 10 Hot Consumer Trends 2015
Presentation: 10 Hot Consumer Trends 2015Presentation: 10 Hot Consumer Trends 2015
Presentation: 10 Hot Consumer Trends 2015
 
A Context-Aware Retrieval System for Mobile Applications
A Context-Aware Retrieval System for Mobile ApplicationsA Context-Aware Retrieval System for Mobile Applications
A Context-Aware Retrieval System for Mobile Applications
 
AUTOMATED LEAK DETECTION SYSTEM FOR THE IMPROVEMENT OF WATER NETWORK MANAGEMENT
AUTOMATED LEAK DETECTION SYSTEM FOR THE IMPROVEMENT OF WATER NETWORK MANAGEMENTAUTOMATED LEAK DETECTION SYSTEM FOR THE IMPROVEMENT OF WATER NETWORK MANAGEMENT
AUTOMATED LEAK DETECTION SYSTEM FOR THE IMPROVEMENT OF WATER NETWORK MANAGEMENT
 
Ericsson ConsumerLab: Smart citizens Presentation
Ericsson ConsumerLab: Smart citizens PresentationEricsson ConsumerLab: Smart citizens Presentation
Ericsson ConsumerLab: Smart citizens Presentation
 
LAMPRE - User needs and communication approach to landslide hazards
LAMPRE - User needs and communication approach to landslide hazardsLAMPRE - User needs and communication approach to landslide hazards
LAMPRE - User needs and communication approach to landslide hazards
 
Optimizing Monitorability of Multi-cloud Applications
Optimizing Monitorability of Multi-cloud ApplicationsOptimizing Monitorability of Multi-cloud Applications
Optimizing Monitorability of Multi-cloud Applications
 
Web-based Hybrid Mobile Apps: State of the Practice and Research opportunitie...
Web-based Hybrid Mobile Apps: State of the Practice and Research opportunitie...Web-based Hybrid Mobile Apps: State of the Practice and Research opportunitie...
Web-based Hybrid Mobile Apps: State of the Practice and Research opportunitie...
 
Quickpark
QuickparkQuickpark
Quickpark
 
PRO-VAS: utilizing AR and VSLAM for mobile apps development in visualizing ob...
PRO-VAS: utilizing AR and VSLAM for mobile apps development in visualizing ob...PRO-VAS: utilizing AR and VSLAM for mobile apps development in visualizing ob...
PRO-VAS: utilizing AR and VSLAM for mobile apps development in visualizing ob...
 
HORIZON 2020 - Freemove proposal
HORIZON 2020 - Freemove proposalHORIZON 2020 - Freemove proposal
HORIZON 2020 - Freemove proposal
 
Requirement:HW6 Problem 2 Design a mobile robot capa.docx
Requirement:HW6 Problem 2 Design a mobile robot capa.docxRequirement:HW6 Problem 2 Design a mobile robot capa.docx
Requirement:HW6 Problem 2 Design a mobile robot capa.docx
 
Location Based offers using Android Application
Location Based offers using Android ApplicationLocation Based offers using Android Application
Location Based offers using Android Application
 
User Activity Analysis Using Accelerometer and Cloud Computing
User Activity Analysis Using Accelerometer and Cloud ComputingUser Activity Analysis Using Accelerometer and Cloud Computing
User Activity Analysis Using Accelerometer and Cloud Computing
 
Autonomous Campus Tour Guide Robot by using Ultrasonic Range Sensors and QR c...
Autonomous Campus Tour Guide Robot by using Ultrasonic Range Sensors and QR c...Autonomous Campus Tour Guide Robot by using Ultrasonic Range Sensors and QR c...
Autonomous Campus Tour Guide Robot by using Ultrasonic Range Sensors and QR c...
 
A 5 minute guide to delivering Flawless Mobile Apps
A 5 minute guide to delivering Flawless Mobile AppsA 5 minute guide to delivering Flawless Mobile Apps
A 5 minute guide to delivering Flawless Mobile Apps
 
Mobile semantic technology
Mobile semantic technologyMobile semantic technology
Mobile semantic technology
 

Recently uploaded

Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
DhatriParmar
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
gb193092
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 

Recently uploaded (20)

Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 

Evaluating impact of cross-platform frameworks in energy consumption of mobile applications

  • 1. WEBIST14, Barcelona, 4 April 2014 Evaluating impact of cross-platform frameworks in energy consumption of mobile application Matteo Ciman and Ombretta Gaggi Department of Mathematics University of Padua, Italy {mciman, gaggi}@math.unipd.it WEBIST14 – 10th International Conference on Web Information Systems and Technologies
  • 2. Smartphones equipment Smartphones equipped with ample set of sensors WEBIST14, Barcelona, 4 April 2014 2 of 22
  • 3. Mobile Sensing  Data from sensors used for several purposes  Activity recognition  Mobile healthcare  Augmented reality WEBIST14, Barcelona, 4 April 2014 3 of 22
  • 4. Mobile sensing problem  Acquire and use data from smartphone sensors consumes energy  Higher precision requires more data  Users always request longer battery life WEBIST14, Barcelona, 4 April 2014 4 of 22
  • 5. Smartphone application development  Market fragmentation => higher costs to support all mobile platforms WEBIST14, Barcelona, 4 April 2014 5 of 22
  • 6. Cross-platform frameworks  Idea: write a single application in a framework specific language that is after build into application for the different target platforms  4 different approaches: Web, Hybrid, Interpreted and Cross Compiled WEBIST14, Barcelona, 4 April 2014 6 of 22
  • 7. Web Approach WEBIST14, Barcelona, 4 April 2014 7 of 22
  • 8. Web Approach - 2 + No installation + Easy update + User interface reusable across platforms - No access to app store - Network delays and reduced performances - Difficult to test WEBIST14, Barcelona, 4 April 2014 8 of 22
  • 10. Hybrid Approach - 2 + Store access + Use of device features - Reduced performances - No native look and feel WEBIST14, Barcelona, 4 April 2014 10 of 22
  • 12. + Store access + Native look and feel + Available API for smartphone features access - Reduced performances Interpreted Approach - 2 WEBIST14, Barcelona, 4 April 2014 12 of 22
  • 13. Cross compiled approach WEBIST14, Barcelona, 4 April 2014 13 of 22
  • 14. + Store access + Native look and feel + All smartphones features accessible - No reusable user interface - Difficulties in code conversion and application build Cross compiled Approach - 2 WEBIST14, Barcelona, 4 April 2014 14 of 22
  • 15. Analysis objectives  Analyze energy consumption of mobile applications which acquire data from different sensors  Accelerometer  Compass  Microphone  GPS  Camera  Compare the native solution with a cross-platform application WEBIST14, Barcelona, 4 April 2014 15 of 22
  • 16. Related works  Other authors already explored energy consumption in smartphones  Thompson et al. proposes a model-driven methodology (SPOT, System Power Optimization Tool) to estimate energy consumption before app development  AppScope (Yoon et al.) is an Android energy metering system which estimate the usage of hardware components WEBIST14, Barcelona, 4 April 2014 16 of 22
  • 17. Study setup Monsoon Power Monitor Information about «Energy consumption», «Average current and power», «Expected battery life» etc. WEBIST14, Barcelona, 4 April 2014 17 of 22
  • 18. Study setup - 2  Tested application: native, Phonegap (Hybrid Approach) and Appcelerator Titanium (Interpreted Approach)  Data acquisition at different sampling rates (when possible)  Test smartphone: Samsung Galaxy i9250 (battery capacity: 1750mAh) WEBIST14, Barcelona, 4 April 2014 18 of 22
  • 19. Applications WEBIST14, Barcelona, 4 April 2014 19 of 22 Native Application Phonegap Application Titanium Application
  • 20. Results Native PhoneGap Titanium Sensor Consumed Energy (mAh) D (%) Consumed Energy (mAh) D (%) Consumed Energy (mAh) D (%) Only App 7705,54 +27,42% 8130,85 +34,45% 7860,97 +29,99% Accelerometer 9179,99 +51,80% 12849,82 +112,49% 11972,16* +97,97%* Compass 9489,85 +56,93% 12124,6 +100,50% - - Microphone (Rec) 8120,92 +34,29% 8404,71 +38,98% - - GPS 9301,48 +53,81% 9947,60 +64,50% 9577,27 +58,37% Camera 21857,38 +261,44% 22347,52 +269,54% 22576,45 +273,33% WEBIST14, Barcelona, 4 April 2014 20 of 22 Table 1. Energy consumption comparison between native applications and apps developed with a framework for cross-platform development. Energy consumption without running applications: 6047,31 mAh
  • 21. Results - 2 Consumed energy increase (%) Sensor 60ms 150ms 300ms 500ms Accelerometer +112,49% +70,06% +49,48% +40,25% Compass +100,50% +75,31% +52,92% +46,62% WEBIST14, Barcelona, 4 April 2014 21 of 22 Table 2. Consumed energy using different sampling frequencies to capture data with Phonegap
  • 22. Conclusions  Energy consumption comparison between native and cross-platform developed applications  Results useful to choose the right framework to develop an application  Actually, cross-platform frameworks use more energy that reduce user experience and acceptance  Compared together, Phonegap requires less energy  Future works: study HTML5 (in this case the browser becomes important) and other frameworks WEBIST14, Barcelona, 4 April 2014 22 of 22
  • 23. WEBIST14, Barcelona, 4 April 2014 Evaluating impact of cross-platform frameworks in energy consumption of mobile application Matteo Ciman and Ombretta Gaggi Department of Mathematics University of Padua, Italy {mciman, gaggi}@math.unipd.it WEBIST14 – 10th International Conference on Web Information Systems and Technologies