Measure the Current Consumption of Portable Devices such as Smartphones