Extracted power related stuff to TEMachineWithInventory (and GuiContainerMachine).