About UPG
It generates usage pattern corresponding to update rate of battery level indicator. For example, when battery level has dropped to other percent, it changes whether to increase CPU workload or to decrease it.
It is open source project.
Click here: https://github.com/PowerLab
Related paper: Automated Power Model Generation Method for Smartphones, In Proc. IEEE Transaction on Consumer Electronics (TCE), May, 2014