Context-Aware And Energy-Efficient Autonomous Systems