see http://mbed.org/users/no2chem/notebook/mbed-power-controlconsumption/

Dependencies:   mbed

no such method: tip