Towards the self-powered IoT