A 'CurrentKeeper is manufactured by SoundTraxx which functions as an Energy Storage device. Compatible SoundTraxx decoders will have a connection for a CurrentKeeper. It may also be possible to add one to an older decoder. Check with the manufacturer.
A CurrentKeeper is specified to supply power for up to ten seconds of power loss.