I dont know if you can find size D lithiums very easily or not- they seem to outlast just about anything, in just about everything

regular old duracells should last a couple years- even if its shut off all the time. On these older machine controls we have at work, I usually encourage them to just leave them on all the time, press Estop (long as the hydraulics shut off) as they dont take much wattage at all- and most of the failures seem to be on booting back up after sitting for a while. The R-H robot controls were really bad about power supplies and CMOS faults monday mornings, we started leaving them in estop over the weekends, problems all but disappeared.
just be sure the powers on when you change them (we had a guy go around and lockout/change batteries in a whole line one weekend- DOH!), and clean up the terminals with a little alcohol or something...if theres any sign of corrosion from past leaky batteries be sure the plating on the contacts is in good shape.
I had made up a list by just poking bits on in the one 3 we had years ago, but no idea where I put it...if youve got a few hours, and already have everything backed up, try turning on only 1 bit at a time till you can mdi the command without a error, shouldnt take long...worst case you could always reload it. I remember the one and ONLY time I ever got any help from Fanuc on options was on that 3- batteries died and the 3 axis simultaneous/helical interpolation was gone- called someone- dont recall if it was GN/Fanuc/GEF, but the tech was actually sympathetic to the situation and told me the bit over the phone, got us back into production on a very hot job that would have otherwise been down...years later before we mothballed the machine, I went thru and poked around made up a list for just in case we ever got in trouble on another 3 (but we never did get another one in the shop...)
Actually, just thinking about that- ive still got the maintenance drawings for the 3- might have some notes in there...I'll take a look.