I never heard of needing a driver's license to buy a battery! -- you cerntainly don't in AZ. That must be a wacky CA law ...
Use a Credit Card and they request or require some form of photo identification.
I was referring to the final, actual transaction... the battery reference was for humor...