12V DC LiPo-Battery based Uninterruptable Power Supply/battery power circuit with integrated charger and µC control