These devices are actually known as " Radioisotope Photovoltaic Generators " or " Photobetavoltaic Generators," and they're a pretty clever design: glowing glass pills filled with tritium gas and coated in a phosphorescent material are sandwiched between two photovoltaic cells.
[PDF Version]