The real hack wasn’t scavenging batteries, however, it was getting the MagSafe to signal the computer to use power from the battery bank to run the computer only, and not to use any of that energy for charging the computer’s internal batteries. This is achieved by disabling the center MagSafe pin, which is the computer’s communication line to the power adapter. After that, the battery bank could be programmed to behave properly (a feat in itself for lithium batteries) and the power bank was successfully put into operation.
Not only was this hack a great guide for how to repurpose cells from a “dead” battery, it’s also an unparalleled quick reference for any work that might need a MagSafe connector. Of course, if you’re going to work with these chargers, make sure that you’re using one that isn’t a cheap clone.