Hello, this is Emily.
Using an external mechanical keyboard with your laptop should not significantly affect your laptop's battery life. It may draw a small amount of power from your laptop's USB port. This should not have a significant impact on your battery life, but if you are concerned about conserving battery power, you may want to consider using a wireless keyboard that uses its own battery.