Systems and methods for metering and analyzing energy consumption of events within a portable device
View Patent ↗System and methods to determine the energy consumption per event type from usage data of portable devices are described. An example method includes accessing battery usage data for a first portable device, the battery usage data comprising a plurality of measurements, the measurements including an energy usage by the first portable device during a first time period and an identification of software functions executed by the first portable device during the first time period, and determining at portion of the energy usage attributable to a first one of the software functions based on the measurements.
1. A method, comprising:
accessing, with a processor, first battery usage data for a first portable device, the first battery usage data including an energy usage by the first portable device during a first time period and an identification of software functions executed by the first portable device during the first time period;
accessing, with the processor, second battery usage data for a second portable device, the second battery usage data including an energy usage by the second portable device during a second time period and an identification of software functions executed by the second portable device during the second time period; and
determining, with the processor, a portion of the energy usage by the first and second portable devices attributable to a first one of the software functions based on the first and second battery usage data of the first and second portable devices.
2. A method as defined in claim 1 , wherein the first battery usage data identifies a hardware function used by the first portable device during the first time period.
3. A method as defined in claim 2 , further including determining a portion of the energy usage attributable to the hardware function.
4. An apparatus, comprising:
an event log memory to store first battery usage data for a first portable device, the first battery usage data including an energy usage by the first portable device during a first time period and an identification of software functions executed by the first portable device during the first time period;
the event log memory to store second battery usage data for a second portable device, the second battery usage data including an energy usage by the second portable device during a second time period and an identification of software functions executed by the second portable device during the second time period; and
a logic circuit to determine a portion of the energy usage by the first and second portable devices attributable to a first one of the software functions based on the first and second battery usage data of the first and second devices.
5. An apparatus as defined in claim 4 , wherein the first battery usage data includes a hardware function used by the first portable device during the first time period.
6. An apparatus as defined in claim 5 , wherein the logic circuit is to execute computer readable instructions to determine energy usage attributable to the hardware function.
7. A tangible computer readable storage medium comprising computer readable instructions which, when executed, cause a processor to at least:
access first battery usage data for a first portable device, the first battery usage data including an energy usage by the first portable device during a first time period and an identification of software functions executed by the first portable device during the first time period;
access second battery usage data for a second portable device, the second battery usage data including an energy usage by the second portable device during a second time period and an identification of software functions executed by the second portable device during the second time period; and
determine the energy usage by the first and second portable devices attributable to a first one of the software functions based on the first and second battery usage data of the first and second portable devices.
8. A storage medium as defined in claim 7 , wherein the first battery usage data identifies a hardware function used by the first portable device during the first time period.
9. A storage medium as defined in claim 8 , wherein the instructions further cause the processor to determine a portion of the energy usage attributable to the hardware function.
10. A method, comprising:
collecting data associated with applications executing on a first device during a first period of time, the data including an amount of energy consumed by a portion of the first device during the first period of time;
collecting data associated with applications executing on a second device during a second period of time, the data including an amount of energy consumed by a portion of the second device during the second period of time;
determining, with a processor, an amount of energy consumed by a first one of the applications based on the amount of energy consumed by the portions of the first and second devices; and
outputting a representation of the energy consumed by the first application.
11. A method as defined in claim 10 , wherein the representation identifies the amount of energy consumed per unit of time by the first application.
12. A method as defined in claim 10 , wherein the representation identifies energy consumed by the first application during a second period of time later than the first period of time.