dardin88 / PETrA

PETrA: a Software-based Tool for Estimating the Energy Profile of Android Applications
MIT License
3 stars 8 forks source link
android energy-consumption

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.

Requirements

PETrA needs Android SDK and JRE 8. You can find more info on how to install Android SDK here.

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.

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.