A smart electronic device , connectable to a power bank, comprising: an electronic system configured to provide a primary function of the smart electronic device ; a connector ; a boost/buck regulator ; a battery ; a switching mechanism (S3, S4, S5); and a controller operatively coupled to the switching mechanism and the connector , the controller configured to: determine whether a connected power bank is a smart power bank, configure, when the power bank is not a smart power bank, the switching mechanism to: route an external power-signal from the connector to an input of the boost/buck regulator and a resulting output of the boost/buck regulator to the battery ; route output from the battery to the electronic system to power the electronic system ; and open an electrical path so that the external power-signal does not directly power the electronic system; and determine, when the power bank is a smart power bank, whether a charging of the battery has been selected, configure, when the charging of the battery has not been selected, the switching mechanism to: route the external power-signal from the connector to the electronic system so as to directly power the electronic system bypassing the boost/buck regulator ; disconnect the input of the boost/buck regulator from the connector; and disconnect the battery from the electronic system. an electronic system configured to provide a primary function of the smart electronic device ; a connector ; a boost/buck regulator ; a battery ; a switching mechanism (S3, S4, S5); and a controller operatively coupled to the switching mechanism and the connector , the controller configured to: determine whether a connected power bank is a smart power bank, configure, when the power bank is not a smart power bank, the switching mechanism to: route an external power-signal from the connector to an input of the boost/buck regulator and a resulting output of the boost/buck regulator to the battery ; route output from the battery to the electronic system to power the electronic system ; and open an electrical path so that the external power-signal does not directly power the electronic system; and determine, when the power bank is a smart power bank, whether a charging of the battery has been selected, configure, when the charging of the battery has not been selected, the switching mechanism to: route the external power-signal from the connector to the electronic system so as to directly power the electronic system bypassing the boost/buck regulator ; disconnect the input of the boost/buck regulator from the connector; and disconnect the battery from the electronic system. route an external power-signal from the connector to an input of the boost/buck regulator and a resulting output of the boost/buck regulator to the battery ; route output from the battery to the electronic system to power the electronic system ; and open an electrical path so that the external power-signal does not directly power the electronic system; and route the external power-signal from the connector to the electronic system so as to directly power the electronic system bypassing the boost/buck regulator ; disconnect the input of the boost/buck regulator from the connector; and disconnect the battery from the electronic system. <EOS>