Three Methods for Energy-Efficient Context Recognition