https://github.com/dardin88/petra
PETrA: a Software-based Tool for Estimating the Energy Profile of Android Applications
https://github.com/dardin88/petra
android energy-consumption
Last synced: about 1 month ago
JSON representation
PETrA: a Software-based Tool for Estimating the Energy Profile of Android Applications
- Host: GitHub
- URL: https://github.com/dardin88/petra
- Owner: dardin88
- License: mit
- Created: 2016-06-07T15:31:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-11-23T15:59:19.000Z (almost 2 years ago)
- Last Synced: 2024-01-29T17:17:06.346Z (over 1 year ago)
- Topics: android, energy-consumption
- Language: Java
- Homepage:
- Size: 13.6 MB
- Stars: 3
- Watchers: 4
- Forks: 7
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PETrA: Power Estimation Tool for Android
PETrA is a software able to estimate the energy consumption of method calls in Android apps.
It is written in Java and it is based on some Android tools such as Monkey, Batterystats, Systrace, and dmtracedump.For more info on these tools please take a look to the references.
PETrA is the outcome of the research conducted by the [Software Engineering Lab of the University of Salerno, Italy](http://www.sesa.unisa.it).
## Requirements
PETrA needs Android SDK and JRE 8. You can find more info on how to install Android SDK [here](https://spring.io/guides/gs/android/).
## Supported smartphones
PETrA has been tested on a LG Nexus 4, but other Android smartphones should work. If you are experiencing problems, please add a new issue.
## Hiding the status bar
If you would like to hide the status bar and allow Monkey to not loose focus from the app under test, please refer to [SIMIASQUE](https://github.com/Orange-OpenSource/simiasque).
## References
https://developer.android.com/studio/test/monkey.html
https://developer.android.com/studio/profile/battery-historian.html
https://developer.android.com/studio/profile/systrace.html
https://developer.android.com/studio/profile/traceview.html
## License
PETrA is released under MIT License.
Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY.
Icons made by Madebyoliver from www.flaticon.com is licensed by CC 3.0 BY.
Icons made by Kirill Kazachek from www.flaticon.com is licensed by CC 3.0 BY.