I'm building something that's approximately a laptop, with a total number of units of about 6, maybe one or two more. Laptops need batteries, as big (Wh) and as small (cm^3, kg) as possible, and this is no different. It's worse, actually, as I can't optimise the power consumption like a laptop can.
For this reason, lead acid, NiMH and NiCd are right out, and lithium batteries of some sort are probably the way to go. Using raw lithium cells is not feasible, both for safety and time-consuming-ness of building and testing a charger circuit. Using a real laptop battery is awkward because they tend to want to talk to a charge manager inside the laptop, and that's not documented. And of course the battery and charging/balancing circuit must be small.
So far the best solution I've come up with is laptop secondary batteries - you charge them from 12V and they emit 5/9/12/19V to suit your laptop/phone/whatever, and all the management of the lithium cells is within the pack. There are dozens of kinds on Amazon. Currently I'm using a 40Wh unit.
Which is all fine... except they're too clever for their own good. For example, some switch on if they detect a plug inserted into the output - not good if the output wire is permanently connected. Others try ramping the output voltage until they detect current being taken. And none of this is documented, you have to guess what's going on inside from the behaviour.
The other thing that's needed is some kind of power sensing so the 'laptop' knows when to shut down, rather than just having the power whipped away from it. But many of these have awkward battery status readouts - press the button and watch the LCD. Don't really want to automate that with a solenoid and a pile of photodiodes.
I'm sure this kind of simple voltage-in/voltage+status-out power pack must exist somewhere in the embedded world but I've failed to find any. Any suggestions of where to look?
Thanks Theo