[ViX-HD/Magic-HD] Added support for APM.