If by three leads you mean a positive (red), neutral (black), and ground (green) wires then yes
So basically I'd have to solder it onto a microcontroller then have it programmed (by a programmer?) so that when the battery life gets to, say, 5% it turns from green to orange?
Or could I program it so that it changes when it's sharp IR rangefinder finds an enemy in a sumo bot competition and starts to chase it? what all could I make it do?
*glad I didn't throw it away*