Main Function Of Power Supply