Add feature to extract EnergyModel from target data
Created by: bjackman
This parses data out of procfs and sysfs. This data is currently only available in product-codeline EAS (i.e. AOSP common kernel).
Unfortunately I'm adding 200 lines here without any new tests, because this code depends on having a target, and a localhost target isn't going to have the required data in sysfs. This is a hard thing to test as even mocking the filesystem poses non-trivial problems due to the way the code uses globs. Perhaps the best solution to this is testing with an emulated target using ARM Fast Models or similar.
The reason for the tweaks to the Hikey and Juno data are so that I could validate this code by reading the Hikey and Juno models and checking that the result matched the hard-coded one.