Abstract: The present invention provides a smart charging apparatus that mediates an electronic transaction between the Portable Electronic Device (PED) and a gadget and allows PED recognition by the gadget and also provides a provision for opting between a data transfer mode or a charging mode, wherein a PED can be charged at active, standby or sleep mode of the gadget.