Leafactor: Improving energy efficiency of android apps via automatic refactoring

L. Cruz, R. Abreu, J. Rouvignac. MobileSoft 2017

[ACM]

Leafactor is a tool to automatically improve the energy consumption of Android apps. It does so by refactoring the source code to follow a set of patterns known to be energy efficient. The toolset was validated using 222 refactorings in 140 open-source apps. Changes were submitted to the original apps by creating pull requests to the official projects.