If one key works and the other one doesn't do I need a battery for the other key?
yes...if its not broken !
Have you tried a battery? If not get one.
Unless it is defective or broken then change the battery