Design and Implementation of Novel Smart Battery Management System for FPGA Based Portable Electronic Devices | Synapse