1. A method, comprising: receiving a signal representing power consumption of a first electronic device measured with one or more sensors during operation; defining a plurality of signal sections based on the signal, each signal section from the plurality of signal sections being less than a total size of the signal, each signal section from the plurality of signal sections associated with one signature section from a plurality of signature sections representing power consumption of a second electronic device during operation, the second electronic device being a trusted device; and comparing, for at least one signal section from the plurality of signal sections, that signal section to the associated signature section from the plurality of signature sections to extract a feature.