Sometimes when the PRAM battery is dead, the computer may require
sitting there plugged into AC power awhile to energize the logic board.
Later model G4 Macs such as iMac G4 and some others have issue if
the clock or pram battery is dead and the computer sits unplugged. As
I've repaired several dozens of the older pre-G3/G4 Macs, I know and
at one point had been buying sacks of PRAM batteries (three types) at
good discount, for as little as 50¢ each by mail. Hard to find some of
those batteries now, and the sources I knew of have moved on...
When I had a room-full of some 80 macs restored, all of them were gifted
or donated to charity with software, system and applications, and hardware
with new batteries. {And then there are those capacitors...}
After near 300, I tended to shy away from rescuing more, to fix & give away. 😎