I want to make a little hat for the raspberry pi that allows me to connect a lipo battery, charge it while the pi is running, and boosts the 3.7v to 5v for the pi. (I tried running the pi at 3.7v, it doesn't work)
Additionally, I would want to read the charge status and battery voltage over something like i2c, and would also like to be able to shut down the boost converter from the pi by use of some pin, and then be able to power it back up by the use of a button.
These are a lot of requirements, I know. But every phone, tablet and laptop in the world can accomplish this, so I feel like there's gotta be an IC that does this.
I looked at these UPS boards on ebay, but they all lack the features I need. They either can't be shut down from the pi, or they can't be charged while powering the raspberry pi.
I tried looking for an IC but without much luck. The best I could find was the ip5306 which is used by esp32 based boards. But it appears to only support shutting down at low power consumption or by the press of a button. And I don't want the pi to power off using the button, only power on using the button.(I want the button to send power on the board, and send a signal to the gpio so when I press it, the raspberry pi will shutdown safely by itself)
So my question is, does anyone know such an IC so I can design a board myself?