Try a modified PC power supply if it’s a 12 V tool, or a lead-acid pack if it isn’t. So we’ve got past my rant about the iniquity of the built-in obsolescence of cordless power tools ...