A virtual machine for energy management in WSNs | IEEE Conference Publication | IEEE Xplore