Implementation of an adaptive energy management scheme for Libelium sensors based on solar energy.