1. A method to achieve a PMIC supporting multiple applications having a high degree of flexibility and allowing a small built and low power consumption comprising the steps of (1) providing a PMIC supporting multiple applications, comprising an internal communication bus that is connected to a number of power supplies, to a number of general purpose input/output (GPI/O) devices, and to a non-volatile memory; and (2) deploying a script engine on an internal communication bus of the PMIC, wherein the script engine controls said power supplies.