SlideShare a Scribd company logo
Software-Based Energy Profiling
of Android Apps
Simple, Efficient and Reliable?
Andrea De LuciaAnnibale Panichella
Dario Di Nucci Fabio Palomba
Andy Zaidman
Antonio Prota
Number of smartphone users worldwide from 2014 to 2020
(in billions)
The statistics portal association.
IDC. Top 10 Smartphone Purchase Drivers.
2014. IDC's ConsumerScape 360.
Top 10 Smartphone Purchase Drivers
Battery Life 56% 49% 53%
Ease of Use 33% 39% 38%
Operating System 37% 32% 40%
Touch Screen 34% 34% 37%
Screen Size 37% 22% 34%
Users complain about energy
consumption of their apps.
Energy consumption affects user
ratings on app stores.
Commercial apps do not have less
problems than freely available
applications.
Wilke et al. Energy consumption and efficiency in mobile applications: A user feedback study.
2013. IEEE International Conference on Green Computing.
“(The faulty batteries were made) because we needed higher
capacity batteries for the Note 7”
Koh Dong-jin
Samsung’s mobile business chief
on Samsung Note 7 battery issue
“There is growing consensus that advances in battery
technology and low-power circuit design cannot,
by themselves, meet the energy needs
of future mobile computers”
Flinn and Satyanarayanan
Flinn and Satyanarayanan, Energy-aware adaptation for mobile applications.
1999. ACM Symposium on Operating Systems Principles.
Lack of tools for quickly and efficiently measure the energy
consumption of mobile applications
Harman et al. Achievements, open problems and challenges for search based software testing.
2015. IEEE International Conference on Software Testing
Hardware-based tools Model-based tools Software-based tools
“Can SW-based tools lead to measurements close to HW-based ones
without any cost overhead?”
Lack of tools for quickly and efficiently measure the energy
consumption of mobile applications
Model-based tools Software-based tools
“Can SW-based tools lead to measurements close to HW-based ones
without any cost overhead?”
Lack of tools for quickly and efficiently measure the energy
consumption of mobile applications
Hardware-based tools
+ Best precision
- Require specialized HW
and people
- Sample frequency
problem
Hardware-based tools Model-based tools Software-based tools
+ Best precision
- Require specialized HW
and people
- Sample frequency
problem
“Can SW-based tools lead to measurements close to HW-based ones
without any cost overhead?”
+ Not require HW
- Less precise
- Need careful parameters
calibration
Lack of tools for quickly and efficiently measure the energy
consumption of mobile applications
Hardware-based tools Model-based tools Software-based tools
+ Best precision
- Require specialized HW
and people
- Sample frequency
problem
+ Not require HW
- Less precise
- Hawthorne effect
“Can SW-based tools lead to measurements close to HW-based ones
without any cost overhead?”
+ Not require HW
- Less precise
- Need careful parameters
calibration
Lack of tools for quickly and efficiently measure the energy
consumption of mobile applications
PETrA
Power Estimation Tool for Android
PETrA
Power Estimation Tool for Android
Based on Project Volta
Self-Modeling Paradigm*
Method Level Granularity
Minimize Hawthorne Effect
Strong Integration with Android OS
Does not require any specialized HW
*Dong and Zhong. Self-constructive high-rate system energy modeling for battery-powered mobile
systems. 2011. ACM International Conference on Mobile Systems, Applications, and Services.
PETrA
Workflow
Install App
Clear Environment
Exercise App
Compute Energy
Consumptions
Save Results
More runs to
perform?
Uninstall App
Smartphone Components
Consumption Info
Powerprofile file
Smartphone Components State
during a Time Frame
PETrA
Energy profile computation
Systrace
Batterystats
Active Methods during a Time
Frame
dmtracedump
Energy Consumption for each
Method Call
Empirical Evaluation
How close are the estimations from PETrA
to a hardware-based tool?
Empirical Evaluation
RQ
54apps*
Linares-Vasquez et al. Mining energy-greedy api usage patterns in android apps: An empirical study.
2014. Working Conference on Mining Software Repositories.
Monsoon Toolkit*
414.899 API calls*
321 APIs*
Context selection
Empirical Evaluation
*Linares-Vasquez et al. Mining energy-greedy api usage patterns in android apps: An empirical study.
2014. Working Conference on Mining Software Repositories.
Test Environment Setup
LG Nexus 4* Monkeyrunner*
Data Analysis Metrics
10runs
Empirical Evaluation
*Linares-Vasquez et al. Mining energy-greedy api usage patterns in android apps: An empirical study.
2014. Working Conference on Mining Software Repositories.
Test Environment Setup
LG Nexus 4* Monkeyrunner*
Data Analysis Metrics
10runs
Mean Magnitude
Relative Error
MMRE
Empirical Evaluation
*Linares-Vasquez et al. Mining energy-greedy api usage patterns in android apps: An empirical study.
2014. Working Conference on Mining Software Repositories.
Test Environment Setup
LG Nexus 4* Monkeyrunner*
Data Analysis Metrics
10runs
Mean Magnitude
Relative Error
MMRE
Relative Error
Deviation within x
PRED(x)
Empirical Evaluation
*Linares-Vasquez et al. Mining energy-greedy api usage patterns in android apps: An empirical study.
2014. Working Conference on Mining Software Repositories.
Test Environment Setup
LG Nexus 4* Monkeyrunner*
Data Analysis Metrics
10runs
Mean Magnitude
Relative Error
MMRE
Relative Error
Deviation within x
PRED(x)
Ratio under/over
estimations
Results
In 72% of apps MMRE is within 0.01.
In the worst case MMRE is 0.04
95% of method
consumption estimations
are within 5% of error.
Results
89% of estimations are overestimations
11% are underestimations
accumulated noise due to
network usage
strong usage of sensors
Conclusioni
Conclusioni
Conclusioni
Conclusioni
Conclusioni
Conclusioni
Future works
Replicate on larger set of apps
including not APIs methods.
Future works
Develop new techniques for
providing better estimations.
Replicate on larger set of apps
including not APIs methods.
Dario Di Nucci
University of Salerno
ddinucci@unisa.it
http://www.sesa.unisa.it/people/ddinucci/
Thanks for your attention!
Questions?
To what extent developers can handle energy related
development issues?

More Related Content

What's hot

Centralize Data to Cut Costs and Increasing Quality of Cabling Installations
Centralize Data to Cut Costs and Increasing Quality of Cabling InstallationsCentralize Data to Cut Costs and Increasing Quality of Cabling Installations
Centralize Data to Cut Costs and Increasing Quality of Cabling Installations
Brother Mobile Solutions
 
10 Reasons To Use Open Source Software-Defined Networking
10 Reasons To Use Open Source Software-Defined Networking10 Reasons To Use Open Source Software-Defined Networking
10 Reasons To Use Open Source Software-Defined Networking
Extreme Networks
 
Cool Tools_ Clamp Meters _ EC Mag
Cool Tools_ Clamp Meters _ EC MagCool Tools_ Clamp Meters _ EC Mag
Cool Tools_ Clamp Meters _ EC MagAndré Rebelo
 
Mobile Apps Development Competency Building Roadmap
Mobile Apps Development Competency Building RoadmapMobile Apps Development Competency Building Roadmap
Mobile Apps Development Competency Building RoadmapCornelius Mellino
 
Mobile testing. Tips and Tricks
Mobile testing. Tips and TricksMobile testing. Tips and Tricks
Mobile testing. Tips and Tricks
Artem Pinchuk
 
Ip application
Ip applicationIp application
Ip application
Ahmed Tarek
 
Rabish kumar singh QA Engineer 3 years experience
Rabish kumar singh QA Engineer 3 years experienceRabish kumar singh QA Engineer 3 years experience
Rabish kumar singh QA Engineer 3 years experience
Ravish Singh
 

What's hot (7)

Centralize Data to Cut Costs and Increasing Quality of Cabling Installations
Centralize Data to Cut Costs and Increasing Quality of Cabling InstallationsCentralize Data to Cut Costs and Increasing Quality of Cabling Installations
Centralize Data to Cut Costs and Increasing Quality of Cabling Installations
 
10 Reasons To Use Open Source Software-Defined Networking
10 Reasons To Use Open Source Software-Defined Networking10 Reasons To Use Open Source Software-Defined Networking
10 Reasons To Use Open Source Software-Defined Networking
 
Cool Tools_ Clamp Meters _ EC Mag
Cool Tools_ Clamp Meters _ EC MagCool Tools_ Clamp Meters _ EC Mag
Cool Tools_ Clamp Meters _ EC Mag
 
Mobile Apps Development Competency Building Roadmap
Mobile Apps Development Competency Building RoadmapMobile Apps Development Competency Building Roadmap
Mobile Apps Development Competency Building Roadmap
 
Mobile testing. Tips and Tricks
Mobile testing. Tips and TricksMobile testing. Tips and Tricks
Mobile testing. Tips and Tricks
 
Ip application
Ip applicationIp application
Ip application
 
Rabish kumar singh QA Engineer 3 years experience
Rabish kumar singh QA Engineer 3 years experienceRabish kumar singh QA Engineer 3 years experience
Rabish kumar singh QA Engineer 3 years experience
 

Viewers also liked

Performance and Power Profiling on Intel Android Devices
Performance and Power Profiling on Intel Android DevicesPerformance and Power Profiling on Intel Android Devices
Performance and Power Profiling on Intel Android Devices
Intel® Software
 
Not Only Statements: The Role of Textual Analysis in Software Quality
Not Only Statements: The Role of Textual Analysis in Software QualityNot Only Statements: The Role of Textual Analysis in Software Quality
Not Only Statements: The Role of Textual Analysis in Software Quality
Rocco Oliveto
 
Power optimization for Android apps
Power optimization for Android appsPower optimization for Android apps
Power optimization for Android apps
Xavier Hallade
 
Il Corso di Laurea in Informatica incontra il Mondo del Lavoro - Presentazion...
Il Corso di Laurea in Informatica incontra il Mondo del Lavoro - Presentazion...Il Corso di Laurea in Informatica incontra il Mondo del Lavoro - Presentazion...
Il Corso di Laurea in Informatica incontra il Mondo del Lavoro - Presentazion...
Rocco Oliveto
 
Hypervolume-based search for test case prioritization - ssbse 2015
Hypervolume-based search for test case prioritization - ssbse 2015Hypervolume-based search for test case prioritization - ssbse 2015
Hypervolume-based search for test case prioritization - ssbse 2015
Vrije Universiteit Brussel
 
Tpea project, utilizzo sensori per monitorare temperatura e umidità da remoto
Tpea project, utilizzo sensori per monitorare temperatura e umidità da remotoTpea project, utilizzo sensori per monitorare temperatura e umidità da remoto
Tpea project, utilizzo sensori per monitorare temperatura e umidità da remotoVrije Universiteit Brussel
 
La diffusione
La diffusioneLa diffusione
Landfill
LandfillLandfill
A false digital alibi on mac os x
A false digital alibi on mac os xA false digital alibi on mac os x
A false digital alibi on mac os x
Vrije Universiteit Brussel
 
Gnome Maps: free software services for a new desktop experience
Gnome Maps: free software services for a new desktop experienceGnome Maps: free software services for a new desktop experience
Gnome Maps: free software services for a new desktop experience
Vrije Universiteit Brussel
 
Jointly owned companies as instruments of local government
Jointly owned companies as instruments of local governmentJointly owned companies as instruments of local government
Jointly owned companies as instruments of local government
Vrije Universiteit Brussel
 
Next!
Next!Next!
GSOC 2013 - Un nuovo look and feel per Java basato su GTK+ 3
GSOC 2013 - Un nuovo look and feel per Java basato su GTK+ 3GSOC 2013 - Un nuovo look and feel per Java basato su GTK+ 3
GSOC 2013 - Un nuovo look and feel per Java basato su GTK+ 3
D'Eugenio Elisa
 
Next! Navigator
Next! NavigatorNext! Navigator
A defect prediction model based on the relationships between developers and c...
A defect prediction model based on the relationships between developers and c...A defect prediction model based on the relationships between developers and c...
A defect prediction model based on the relationships between developers and c...
Vrije Universiteit Brussel
 
Applicazioni di modelli matematici alla ricerca semantica
Applicazioni di modelli matematici alla ricerca semanticaApplicazioni di modelli matematici alla ricerca semantica
Applicazioni di modelli matematici alla ricerca semantica
Vrije Universiteit Brussel
 
Search-based testing of procedural programs:iterative single-target or multi-...
Search-based testing of procedural programs:iterative single-target or multi-...Search-based testing of procedural programs:iterative single-target or multi-...
Search-based testing of procedural programs:iterative single-target or multi-...
Vrije Universiteit Brussel
 
Evoluzione della normazione ISO
Evoluzione della normazione ISOEvoluzione della normazione ISO
Evoluzione della normazione ISO
D'Eugenio Elisa
 
Power point tut. smart phones
Power point tut. smart phonesPower point tut. smart phones
Power point tut. smart phones
kmuk3
 
The advantages of smart phones
The advantages of smart phonesThe advantages of smart phones
The advantages of smart phonesLefa_M
 

Viewers also liked (20)

Performance and Power Profiling on Intel Android Devices
Performance and Power Profiling on Intel Android DevicesPerformance and Power Profiling on Intel Android Devices
Performance and Power Profiling on Intel Android Devices
 
Not Only Statements: The Role of Textual Analysis in Software Quality
Not Only Statements: The Role of Textual Analysis in Software QualityNot Only Statements: The Role of Textual Analysis in Software Quality
Not Only Statements: The Role of Textual Analysis in Software Quality
 
Power optimization for Android apps
Power optimization for Android appsPower optimization for Android apps
Power optimization for Android apps
 
Il Corso di Laurea in Informatica incontra il Mondo del Lavoro - Presentazion...
Il Corso di Laurea in Informatica incontra il Mondo del Lavoro - Presentazion...Il Corso di Laurea in Informatica incontra il Mondo del Lavoro - Presentazion...
Il Corso di Laurea in Informatica incontra il Mondo del Lavoro - Presentazion...
 
Hypervolume-based search for test case prioritization - ssbse 2015
Hypervolume-based search for test case prioritization - ssbse 2015Hypervolume-based search for test case prioritization - ssbse 2015
Hypervolume-based search for test case prioritization - ssbse 2015
 
Tpea project, utilizzo sensori per monitorare temperatura e umidità da remoto
Tpea project, utilizzo sensori per monitorare temperatura e umidità da remotoTpea project, utilizzo sensori per monitorare temperatura e umidità da remoto
Tpea project, utilizzo sensori per monitorare temperatura e umidità da remoto
 
La diffusione
La diffusioneLa diffusione
La diffusione
 
Landfill
LandfillLandfill
Landfill
 
A false digital alibi on mac os x
A false digital alibi on mac os xA false digital alibi on mac os x
A false digital alibi on mac os x
 
Gnome Maps: free software services for a new desktop experience
Gnome Maps: free software services for a new desktop experienceGnome Maps: free software services for a new desktop experience
Gnome Maps: free software services for a new desktop experience
 
Jointly owned companies as instruments of local government
Jointly owned companies as instruments of local governmentJointly owned companies as instruments of local government
Jointly owned companies as instruments of local government
 
Next!
Next!Next!
Next!
 
GSOC 2013 - Un nuovo look and feel per Java basato su GTK+ 3
GSOC 2013 - Un nuovo look and feel per Java basato su GTK+ 3GSOC 2013 - Un nuovo look and feel per Java basato su GTK+ 3
GSOC 2013 - Un nuovo look and feel per Java basato su GTK+ 3
 
Next! Navigator
Next! NavigatorNext! Navigator
Next! Navigator
 
A defect prediction model based on the relationships between developers and c...
A defect prediction model based on the relationships between developers and c...A defect prediction model based on the relationships between developers and c...
A defect prediction model based on the relationships between developers and c...
 
Applicazioni di modelli matematici alla ricerca semantica
Applicazioni di modelli matematici alla ricerca semanticaApplicazioni di modelli matematici alla ricerca semantica
Applicazioni di modelli matematici alla ricerca semantica
 
Search-based testing of procedural programs:iterative single-target or multi-...
Search-based testing of procedural programs:iterative single-target or multi-...Search-based testing of procedural programs:iterative single-target or multi-...
Search-based testing of procedural programs:iterative single-target or multi-...
 
Evoluzione della normazione ISO
Evoluzione della normazione ISOEvoluzione della normazione ISO
Evoluzione della normazione ISO
 
Power point tut. smart phones
Power point tut. smart phonesPower point tut. smart phones
Power point tut. smart phones
 
The advantages of smart phones
The advantages of smart phonesThe advantages of smart phones
The advantages of smart phones
 

Similar to Software-Based Energy Profiling of Android Apps: Simple, Efficient and Reliable?

What are the Characteristics of High-rated Apps
What are the Characteristics of High-rated AppsWhat are the Characteristics of High-rated Apps
What are the Characteristics of High-rated Apps
SAIL_QU
 
Marco Couto's Msc Thesis Presentation
Marco Couto's Msc Thesis PresentationMarco Couto's Msc Thesis Presentation
Marco Couto's Msc Thesis Presentation
GreenLabAtDI
 
On the Link Between Mobile App Quality and User Reviews
On the Link Between Mobile App Quality and User ReviewsOn the Link Between Mobile App Quality and User Reviews
On the Link Between Mobile App Quality and User Reviews
SAIL_QU
 
Mobilesoft 2017 Keynote
Mobilesoft 2017 KeynoteMobilesoft 2017 Keynote
Mobilesoft 2017 Keynote
Abhik Roychoudhury
 
Greendroid Part2
Greendroid Part2Greendroid Part2
Greendroid Part2
k.surya kumar
 
Architecting mobile application
Architecting mobile applicationArchitecting mobile application
Architecting mobile application
K Senthil Kumar
 
End Users’ Perception of Hybrid Mobile Apps in the Google Play Store
End Users’ Perception of Hybrid Mobile Apps in the Google Play StoreEnd Users’ Perception of Hybrid Mobile Apps in the Google Play Store
End Users’ Perception of Hybrid Mobile Apps in the Google Play Store
Ivano Malavolta
 
[TTT Meetup] Enhance mobile app testing with performance-centric strategies (...
[TTT Meetup] Enhance mobile app testing with performance-centric strategies (...[TTT Meetup] Enhance mobile app testing with performance-centric strategies (...
[TTT Meetup] Enhance mobile app testing with performance-centric strategies (...
NITHIN S.S
 
Agile IT: Modern Architecture for Rapid Mobile App Development
Agile IT: Modern Architecture for Rapid Mobile App DevelopmentAgile IT: Modern Architecture for Rapid Mobile App Development
Agile IT: Modern Architecture for Rapid Mobile App Development
AnyPresence
 
Continuous, Evolutionary and Large-Scale: A New Perspective for Automated Mob...
Continuous, Evolutionary and Large-Scale: A New Perspective for Automated Mob...Continuous, Evolutionary and Large-Scale: A New Perspective for Automated Mob...
Continuous, Evolutionary and Large-Scale: A New Perspective for Automated Mob...
Kevin Moran
 
Green droid automated diagnosis of energy inefficiency for smartphone applica...
Green droid automated diagnosis of energy inefficiency for smartphone applica...Green droid automated diagnosis of energy inefficiency for smartphone applica...
Green droid automated diagnosis of energy inefficiency for smartphone applica...JPINFOTECH JAYAPRAKASH
 
DATA-DRIVEN MODEL FOR NON-FUNCTIONAL REQUIREMENTS IN MOBILE APPLICATION DEVEL...
DATA-DRIVEN MODEL FOR NON-FUNCTIONAL REQUIREMENTS IN MOBILE APPLICATION DEVEL...DATA-DRIVEN MODEL FOR NON-FUNCTIONAL REQUIREMENTS IN MOBILE APPLICATION DEVEL...
DATA-DRIVEN MODEL FOR NON-FUNCTIONAL REQUIREMENTS IN MOBILE APPLICATION DEVEL...
AIRCC Publishing Corporation
 
DATA-DRIVEN MODEL FOR NON-FUNCTIONAL REQUIREMENTS IN MOBILE APPLICATION DEVEL...
DATA-DRIVEN MODEL FOR NON-FUNCTIONAL REQUIREMENTS IN MOBILE APPLICATION DEVEL...DATA-DRIVEN MODEL FOR NON-FUNCTIONAL REQUIREMENTS IN MOBILE APPLICATION DEVEL...
DATA-DRIVEN MODEL FOR NON-FUNCTIONAL REQUIREMENTS IN MOBILE APPLICATION DEVEL...
ijcsit
 
Roland van leusden mobile performance testing rtc 2014 v0.6
Roland van leusden   mobile performance testing  rtc 2014 v0.6Roland van leusden   mobile performance testing  rtc 2014 v0.6
Roland van leusden mobile performance testing rtc 2014 v0.6Romania Testing
 
IEEE ANDROID APPLICATION 2016 TITLE AND ABSTRACT
IEEE ANDROID APPLICATION 2016 TITLE AND ABSTRACTIEEE ANDROID APPLICATION 2016 TITLE AND ABSTRACT
IEEE ANDROID APPLICATION 2016 TITLE AND ABSTRACT
tsysglobalsolutions
 
20141203 sen plago
20141203 sen plago20141203 sen plago
20141203 sen plago
Patricia Lago
 
Experitest-Infosys Co-Webinar on Mobile Continuous Integration
Experitest-Infosys Co-Webinar on Mobile Continuous IntegrationExperitest-Infosys Co-Webinar on Mobile Continuous Integration
Experitest-Infosys Co-Webinar on Mobile Continuous Integration
Experitest
 
[2015/2016] Mobile thinking
[2015/2016] Mobile thinking[2015/2016] Mobile thinking
[2015/2016] Mobile thinking
Ivano Malavolta
 
Vehicle Emission Testing System 2
Vehicle Emission Testing System 2Vehicle Emission Testing System 2
Vehicle Emission Testing System 2
Lakshika Rasanjali
 
What Do Programmers Know about Software Energy Consumption?
What Do Programmers Know about Software Energy Consumption?What Do Programmers Know about Software Energy Consumption?
What Do Programmers Know about Software Energy Consumption?
SAIL_QU
 

Similar to Software-Based Energy Profiling of Android Apps: Simple, Efficient and Reliable? (20)

What are the Characteristics of High-rated Apps
What are the Characteristics of High-rated AppsWhat are the Characteristics of High-rated Apps
What are the Characteristics of High-rated Apps
 
Marco Couto's Msc Thesis Presentation
Marco Couto's Msc Thesis PresentationMarco Couto's Msc Thesis Presentation
Marco Couto's Msc Thesis Presentation
 
On the Link Between Mobile App Quality and User Reviews
On the Link Between Mobile App Quality and User ReviewsOn the Link Between Mobile App Quality and User Reviews
On the Link Between Mobile App Quality and User Reviews
 
Mobilesoft 2017 Keynote
Mobilesoft 2017 KeynoteMobilesoft 2017 Keynote
Mobilesoft 2017 Keynote
 
Greendroid Part2
Greendroid Part2Greendroid Part2
Greendroid Part2
 
Architecting mobile application
Architecting mobile applicationArchitecting mobile application
Architecting mobile application
 
End Users’ Perception of Hybrid Mobile Apps in the Google Play Store
End Users’ Perception of Hybrid Mobile Apps in the Google Play StoreEnd Users’ Perception of Hybrid Mobile Apps in the Google Play Store
End Users’ Perception of Hybrid Mobile Apps in the Google Play Store
 
[TTT Meetup] Enhance mobile app testing with performance-centric strategies (...
[TTT Meetup] Enhance mobile app testing with performance-centric strategies (...[TTT Meetup] Enhance mobile app testing with performance-centric strategies (...
[TTT Meetup] Enhance mobile app testing with performance-centric strategies (...
 
Agile IT: Modern Architecture for Rapid Mobile App Development
Agile IT: Modern Architecture for Rapid Mobile App DevelopmentAgile IT: Modern Architecture for Rapid Mobile App Development
Agile IT: Modern Architecture for Rapid Mobile App Development
 
Continuous, Evolutionary and Large-Scale: A New Perspective for Automated Mob...
Continuous, Evolutionary and Large-Scale: A New Perspective for Automated Mob...Continuous, Evolutionary and Large-Scale: A New Perspective for Automated Mob...
Continuous, Evolutionary and Large-Scale: A New Perspective for Automated Mob...
 
Green droid automated diagnosis of energy inefficiency for smartphone applica...
Green droid automated diagnosis of energy inefficiency for smartphone applica...Green droid automated diagnosis of energy inefficiency for smartphone applica...
Green droid automated diagnosis of energy inefficiency for smartphone applica...
 
DATA-DRIVEN MODEL FOR NON-FUNCTIONAL REQUIREMENTS IN MOBILE APPLICATION DEVEL...
DATA-DRIVEN MODEL FOR NON-FUNCTIONAL REQUIREMENTS IN MOBILE APPLICATION DEVEL...DATA-DRIVEN MODEL FOR NON-FUNCTIONAL REQUIREMENTS IN MOBILE APPLICATION DEVEL...
DATA-DRIVEN MODEL FOR NON-FUNCTIONAL REQUIREMENTS IN MOBILE APPLICATION DEVEL...
 
DATA-DRIVEN MODEL FOR NON-FUNCTIONAL REQUIREMENTS IN MOBILE APPLICATION DEVEL...
DATA-DRIVEN MODEL FOR NON-FUNCTIONAL REQUIREMENTS IN MOBILE APPLICATION DEVEL...DATA-DRIVEN MODEL FOR NON-FUNCTIONAL REQUIREMENTS IN MOBILE APPLICATION DEVEL...
DATA-DRIVEN MODEL FOR NON-FUNCTIONAL REQUIREMENTS IN MOBILE APPLICATION DEVEL...
 
Roland van leusden mobile performance testing rtc 2014 v0.6
Roland van leusden   mobile performance testing  rtc 2014 v0.6Roland van leusden   mobile performance testing  rtc 2014 v0.6
Roland van leusden mobile performance testing rtc 2014 v0.6
 
IEEE ANDROID APPLICATION 2016 TITLE AND ABSTRACT
IEEE ANDROID APPLICATION 2016 TITLE AND ABSTRACTIEEE ANDROID APPLICATION 2016 TITLE AND ABSTRACT
IEEE ANDROID APPLICATION 2016 TITLE AND ABSTRACT
 
20141203 sen plago
20141203 sen plago20141203 sen plago
20141203 sen plago
 
Experitest-Infosys Co-Webinar on Mobile Continuous Integration
Experitest-Infosys Co-Webinar on Mobile Continuous IntegrationExperitest-Infosys Co-Webinar on Mobile Continuous Integration
Experitest-Infosys Co-Webinar on Mobile Continuous Integration
 
[2015/2016] Mobile thinking
[2015/2016] Mobile thinking[2015/2016] Mobile thinking
[2015/2016] Mobile thinking
 
Vehicle Emission Testing System 2
Vehicle Emission Testing System 2Vehicle Emission Testing System 2
Vehicle Emission Testing System 2
 
What Do Programmers Know about Software Energy Consumption?
What Do Programmers Know about Software Energy Consumption?What Do Programmers Know about Software Energy Consumption?
What Do Programmers Know about Software Energy Consumption?
 

Recently uploaded

NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 
AIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdfAIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdf
RicletoEspinosa1
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.pptPROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
bhadouriyakaku
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
dxobcob
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
Kamal Acharya
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
obonagu
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 

Recently uploaded (20)

NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 
AIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdfAIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdf
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.pptPROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 

Software-Based Energy Profiling of Android Apps: Simple, Efficient and Reliable?

  • 1. Software-Based Energy Profiling of Android Apps Simple, Efficient and Reliable? Andrea De LuciaAnnibale Panichella Dario Di Nucci Fabio Palomba Andy Zaidman Antonio Prota
  • 2. Number of smartphone users worldwide from 2014 to 2020 (in billions) The statistics portal association.
  • 3. IDC. Top 10 Smartphone Purchase Drivers. 2014. IDC's ConsumerScape 360. Top 10 Smartphone Purchase Drivers Battery Life 56% 49% 53% Ease of Use 33% 39% 38% Operating System 37% 32% 40% Touch Screen 34% 34% 37% Screen Size 37% 22% 34%
  • 4. Users complain about energy consumption of their apps. Energy consumption affects user ratings on app stores. Commercial apps do not have less problems than freely available applications. Wilke et al. Energy consumption and efficiency in mobile applications: A user feedback study. 2013. IEEE International Conference on Green Computing.
  • 5. “(The faulty batteries were made) because we needed higher capacity batteries for the Note 7” Koh Dong-jin Samsung’s mobile business chief on Samsung Note 7 battery issue
  • 6. “There is growing consensus that advances in battery technology and low-power circuit design cannot, by themselves, meet the energy needs of future mobile computers” Flinn and Satyanarayanan Flinn and Satyanarayanan, Energy-aware adaptation for mobile applications. 1999. ACM Symposium on Operating Systems Principles.
  • 7.
  • 8. Lack of tools for quickly and efficiently measure the energy consumption of mobile applications Harman et al. Achievements, open problems and challenges for search based software testing. 2015. IEEE International Conference on Software Testing
  • 9. Hardware-based tools Model-based tools Software-based tools “Can SW-based tools lead to measurements close to HW-based ones without any cost overhead?” Lack of tools for quickly and efficiently measure the energy consumption of mobile applications
  • 10. Model-based tools Software-based tools “Can SW-based tools lead to measurements close to HW-based ones without any cost overhead?” Lack of tools for quickly and efficiently measure the energy consumption of mobile applications Hardware-based tools + Best precision - Require specialized HW and people - Sample frequency problem
  • 11. Hardware-based tools Model-based tools Software-based tools + Best precision - Require specialized HW and people - Sample frequency problem “Can SW-based tools lead to measurements close to HW-based ones without any cost overhead?” + Not require HW - Less precise - Need careful parameters calibration Lack of tools for quickly and efficiently measure the energy consumption of mobile applications
  • 12. Hardware-based tools Model-based tools Software-based tools + Best precision - Require specialized HW and people - Sample frequency problem + Not require HW - Less precise - Hawthorne effect “Can SW-based tools lead to measurements close to HW-based ones without any cost overhead?” + Not require HW - Less precise - Need careful parameters calibration Lack of tools for quickly and efficiently measure the energy consumption of mobile applications
  • 14. PETrA Power Estimation Tool for Android Based on Project Volta Self-Modeling Paradigm* Method Level Granularity Minimize Hawthorne Effect Strong Integration with Android OS Does not require any specialized HW *Dong and Zhong. Self-constructive high-rate system energy modeling for battery-powered mobile systems. 2011. ACM International Conference on Mobile Systems, Applications, and Services.
  • 15. PETrA Workflow Install App Clear Environment Exercise App Compute Energy Consumptions Save Results More runs to perform? Uninstall App
  • 16. Smartphone Components Consumption Info Powerprofile file Smartphone Components State during a Time Frame PETrA Energy profile computation Systrace Batterystats Active Methods during a Time Frame dmtracedump Energy Consumption for each Method Call
  • 18. How close are the estimations from PETrA to a hardware-based tool? Empirical Evaluation RQ 54apps* Linares-Vasquez et al. Mining energy-greedy api usage patterns in android apps: An empirical study. 2014. Working Conference on Mining Software Repositories. Monsoon Toolkit* 414.899 API calls* 321 APIs* Context selection
  • 19. Empirical Evaluation *Linares-Vasquez et al. Mining energy-greedy api usage patterns in android apps: An empirical study. 2014. Working Conference on Mining Software Repositories. Test Environment Setup LG Nexus 4* Monkeyrunner* Data Analysis Metrics 10runs
  • 20. Empirical Evaluation *Linares-Vasquez et al. Mining energy-greedy api usage patterns in android apps: An empirical study. 2014. Working Conference on Mining Software Repositories. Test Environment Setup LG Nexus 4* Monkeyrunner* Data Analysis Metrics 10runs Mean Magnitude Relative Error MMRE
  • 21. Empirical Evaluation *Linares-Vasquez et al. Mining energy-greedy api usage patterns in android apps: An empirical study. 2014. Working Conference on Mining Software Repositories. Test Environment Setup LG Nexus 4* Monkeyrunner* Data Analysis Metrics 10runs Mean Magnitude Relative Error MMRE Relative Error Deviation within x PRED(x)
  • 22. Empirical Evaluation *Linares-Vasquez et al. Mining energy-greedy api usage patterns in android apps: An empirical study. 2014. Working Conference on Mining Software Repositories. Test Environment Setup LG Nexus 4* Monkeyrunner* Data Analysis Metrics 10runs Mean Magnitude Relative Error MMRE Relative Error Deviation within x PRED(x) Ratio under/over estimations
  • 23. Results In 72% of apps MMRE is within 0.01. In the worst case MMRE is 0.04 95% of method consumption estimations are within 5% of error.
  • 24. Results 89% of estimations are overestimations 11% are underestimations accumulated noise due to network usage strong usage of sensors
  • 31. Future works Replicate on larger set of apps including not APIs methods.
  • 32. Future works Develop new techniques for providing better estimations. Replicate on larger set of apps including not APIs methods.
  • 33. Dario Di Nucci University of Salerno ddinucci@unisa.it http://www.sesa.unisa.it/people/ddinucci/ Thanks for your attention! Questions?
  • 34. To what extent developers can handle energy related development issues?