[PATCH v7 00/15] Add support for devices in the Energy Model