modified energy monitoring to remove dependency on hwdb