An image forming apparatus is provided that forms an image with liquid developer, and a method thereof. A dock sensor on the information handling system selectively interfaces a local power sensor if the information handling system is not docked or a docking station sensor if the information handling system is docked. The movable core is attracted to the fixed core by the magnetic attractive force generated between the fixed core and the movable core when the coil is supplied with electricity.