Activity recognition from on-body sensors: accuracy-power trade-off by dynamic sensor selection