There is a related need to provide an application program interface (API) for this feature, as well as to control and monitor the operation thereof using the software application within the device. [0015] The size and weight of the battery is a continuing technical challenge for portable electronic devices.