Simpler code for VM power states in main view.