I used the OpenUPS module from Mini Box some time ago. I had a 4 stage LiPo cell using the intelligent charge monitoring, powering a Robin mini x86 board. The UPS board also had a connector to trigger the CPU power button if required and USB monitoring (using OepnUPS under Linux). Rather pricey though, HTH.