The TREND meter: Monitoring the energy consumption of networked devices