Energy-efficient sensing library for Android