I made a battery pack for my lap top once.
The cost of a new battery was rediculas & it came in a plastic box that attached to the laptop.
So if I bought a new battery it would just clip on.
So destroying the old plastic battery case didn't matter.
I used a razor blade and parted the two glued halfs,
removed the old batteries,
drilled and installed a flush mount female socket for a 2 wire power male like on the end of a transformer.
You know those little 112v black boxes that plug into the wall and the long cord plugs into your phone or what ever.
Then from the female flush socket I soldered the + & - to the outlet for the laptop and glued it back together.
My lap top used 12v, so a car battery, or plug it into the cars cig lighter socket worked.
They make voltage adapters 12v to ? for different CD players and such.
But I took some thin pvc pipe that regular D batteries would fit in.
At 1 & 1/2 volt each I needed 8 batteries to make the 12v.
Cut two pieces of pvc to hold 4 batteries each,
Set them side by side & drilled a hole in the bottom all the way through & put in a thin bolt.
This was the electrical connection from one to the other and it held them together. (add duct tape)
Then a couple holes in the top & two metal rods going across the top with wires to the male plug.
Filled it with rechargeable batteries and charged it from the car's cig lighter when I was driving.
A cars alternator puts out about 14v to charge a 12v battery and it's the 2v difference that forces the electricity
through/into the battery.
For a test you can gather up all the D cell batteries that you can find.
Find a V shaped angle iron thingie and lay them end to end
They can be charged by car battery, 12 volts charges 6 of them at a time ok. (don't let them get hot)
Once you've got your battery count set for the input volts of your computer you can give it a try.
The exact voltage isn't as critical as you might think it is. You can always be off a volt or maybe 2 & worry not.
Low voltage is worse than a higher voltage for constant running.
But a lower voltage might be better for a trial so it isn't fried.
I found that below 7 volts my laptop wouldn't start or do anything
as if there was a voltage checker that only allow the laptop to start if there was ample electricity.
The rechargable D batteries I used were those yellow cadium ones that don't hardly weigh anything.
CAUTION if you paint your battery pack red and choose to use PVC end caps,
them thar freedom act home security guys will take your freedom.
Like a pipe bomb scare or something.
Once you've got your trial batteries layed out in the algle iron and charged
you can hold wires from them to the lap top's connectors and
give it a test before you actually buy or make something & commit yourself.
You know that those cadium batteries aren't exactly cheap when you buy in bulk.
I think I paid $20 or $30 at the time ? (a long time ago on a 386 sx 20 mhz)
The are probably a lot cheaper now though.
Once I got my old laptops plastic battery case back together, I found a black box transformer that supplyed
the right amount of voltage and use that in the house.
The original power supply broke so I used that for a year.
The original power supply had multi wires & sensors bla bla and apperantly it wasn't needed.
Remember this is just for information or humor and if you blow up your lap top, you are responsible, not me.
There's a million ways to do something wrong & my info is not complete fur sur.
A computer salesman will not advise making a battery pack. That kind of stuff puts em out of business.
Check your old battery pack for volts, amps, etc and try to make a match??????
Good luck
Bitdog