upvote
Just plug all the battery slots in parallel to a 4.1V power source (that's a nearly full battery voltage). You probably have to solder them to make a reliable connection.
reply
I'm pretty sure the third/fourth pins are used for communication to the battery. I doubt the phone would be happy it wasn't responding. I vaguely remember some phones can just use a resistor for that pin? Either way it's not quite that simple.
reply
Maybe. Try it and see. If it doesn't work it's probably just a temperature sensor (thermistor) and a resistor indeed simulates a certain temperature the same way your power supply simulates a charge state.
reply
You could probably open the wrap of a battery to show the individual components including the cells and other guts. Once you identify what the cables lead to then simulate it or replicate it.
reply
Or we could look at how it communicates in-circuit, since that matters more than what it looks like to the eyeballs.

Most/all phones have one cell and therefore no balancing magic. Two connections do the job of connecting to the battery cell to the rest of the phone. These two are easily identified with a DMM.

If the phone works with only these two connections, then we're done; the phone will run from a bench power supply and there's nothing left to pursue.

If it does not work, then the functions of any additional connections be further explored while still never unwrapping the battery. Serial data? NTC thermistor? Something else? Fine; record that and emulate it. NTCs are cheap and so are MCU dev kits. (And if we don't have a decent-ish oscilloscope yet, then this is a good excuse to get one.)

reply
1 point by leptons 16 minutes ago | root | parent | next | edit | delete [–]

If you don't have any real training in electronics, please refrain from giving advice like this. It can start fires, especially when lithium batteries are concerned.

reply
In other words, never hack things, it could be dangerous!
reply
That is not what I said at all, but thanks for taking it completely of context for your shitty troll comment.

Do whatever the fuck you want and suffer the consequences yourself for doing stupid things you don't understand, but don't encourage other people who also may lack understanding to follow you over a cliff.

If fucking around with lithium batteries doesn't make you pause a bit, then you're just ignorant.

reply
The type of advice that 99% of HN commenters would be able to do properly…but that last 1% … I hope they don’t cause the battery to blow up when they try to open it up in just the wrong way!

Still though, could be a lot of screwing around needed to get this to work. Likely the extra wires go straight to a chip which expects to be able to monitor the voltage of the battery, and which might be alarmed by a power supply that acts unnaturally for a battery.

reply
If you don't have any real training in electronics, please refrain from giving advice like this. It can start fires.
reply