A software framework for application-guided power-aware control systems