Shown here is a basic backup problem to be solved. The goal here is to use a battery to back-up a supply such as an uninterruptible power supply also known as a UPS. Here is a ~4.25V – 5V supply that needs to be backed up from a Li-ion battery. As noted prior, batteries are better for longer term, low power backup systems.