Perpetual and Low-cost Power Meter for Monitoring Residential and Industrial Appliances