As I admitted in the Gallery post I can't claim I'm the first to think of using an 18V power tool battery, but it does work well.
There were two main things to consider: cutting the top plate (1/4" Alder) and mounting the battery receiver securely, they have a pretty positive engagement.
I lucked out with the dead Ryobi sander that was the donor. It has stiffeners along the sides and, unlike the flashlight or drill, the battery mount is attached front and rear. Once amputated from the rest, the receiver had a total of 5 screws holding the two halves together (overkill).
I realized on the first attempt that cutting a perfect, or even an acceptable hole of such an odd shape in the top plate was beyond me. I cut a second with a smaller hole and using the stiffeners as guides employed a Dremel to notch a small step around the receiver. This allowed for a reasonably flush mount without visible gaps.
To fasten the receiver I first wanted to just hold it in place, so a bead of silicone around the underside seamed the call. By the time I had trimmed back the applicator tip of an open tube far enough to extract the plug of dried silicone I could have just as well trowelled it on.
Once my sea of silicone had dried I removed 2 of the screws (1 front, 1 rear) from the receiver and carefully drilled through holes. I slid an old worn drill bit (Reuse, Recycle, Redesign) through each and propped them up with wood supports glued to the underside of the top plate. Very sturdy, pretty ugly.
Were I to do it again, while fitting the receiver to the top plate would probably remain the same (but I would use WAY less silicone) I think I would make the whole thing smaller (I bet a 5 x 8 would work).
Karl