Merge "API for setting the power state of a virtual device." into main