I have a DSO150 Shell kit oscilloscope, and I want to convert it to battery powered. There's a thread on this on the JYETech forum, and basically everyone is using some kind of single-cell 3.7V flat lithium polymer battery, a USB-powered charging and protection module using a TP4056 and DW01A, and a boost converter (to 9V) module using an MT3608. There's room for all that inside the case. The scope draws 120ma when powered by a 9V wall wart. The circuit is essentially the one shown here, except that his final output voltage is 5V:
https://easyeda.com/GreatScott/LiPoChargeProtectBoost_copy-3d9f4c3ddc7347d7861776340b9b90b7The question I have is whether it makes sense to try to operate the scope while charging the battery. My battery will have a 1350 mha capacity, and I thought I would set the maximum current out of the charger to be just under 500ma, which is the maximum you can get from USB2, and a conservative charging rate for the battery even if more current is available. But it's not clear to me what would happen if the scope is turned on while the battery is charging. When the stuff I've ordered arrives I can experiment, but at this point I don't understand how the 500ma at the maximum 4.2V charging voltage would be divided up between the battery and the boost converter.
Others in the JYETech forum thread report that they can power the scope while charging, but there's no detail on that. It just seems to me that doing that is problematical. Even if the boost converter is able to get enough current to operate the scope, the charger will never see the point where the current is less than 10% of the 500ma, and will therefore never shut down the charging session That means "charged" LED will never come on, and the battery will continue to see 4.2V after it is fully charged, which I understand is not good for it.
One modification I've seen is to feed the boost converter from the charger/battery through a schottky diode, and also feed the converter from the USB 5V line though another schottky diode. So when USB is plugged in, it would separately power the charger and the boost converter. But for that you would need more than 500ma. So USB3 or a 5V charger would be needed.
Most of the battery-powered devices I have can be operated while charging, and will shut down charging when fully charged. Is the diode arrangement the typical way to do that?
Actually, it might work to replace the battery schottly with one backwards-oriented P-channel MOSFET (body diode forward biased). with its gate tied to USB 5V with a 100K pull-down resistor to ground. That MOSFET would be ON when USB isn't plugged in, and OFF when it is. Kinda like a reverse polarity protection setup.
So what's the story on this issue? What would be best practice?