1. A method for balancing recognition accuracy and power consumption, comprising: activating a plurality of sensors onboard a device for a first time period; based on sensor data sent from the activated sensors, calculating sensor readings by using a calculation function; determining a plurality of sensor subsets of the plurality of sensors; calculating corresponding errors for the plurality of sensor subsets for the first time period; comparing the obtained errors to a user-defined error threshold; from the plurality of sensor subsets that produce the error below the user-defined error threshold, calculating respective power consumption of running the sensor subsets of the plurality of sensors; selecting a sensor subset with minimum power consumption from the sensor subsets as an optimal sensor subset; deactivating the plurality of sensors not in the optimal sensor subset; and calculating sensor readings with the optimal sensor subset for a second time period longer than the first time period.