Added logging to /var/log/power_usage for retrieval by other applications