In this study, nano metal oxides (SnO2 and MnO2) and Ag nanoparticles were prepared and diagnosed using infrared spectroscopy, x-ray diffraction, and atomic force microscopy. Aniline polymer was prepared and characterized through IR and x-ray diffraction. Polymeric membranes of polyaniline and polyvinyl alcohol with and without metal oxides and Ag nanoparticles were prepared. The electrical properties of these membranes (conductivities and real and imaginary isolation constants) were examined through LCR meter. Capacitors of pristine and doped polymeric films were made and their voltages were examined with time. The best behaviour was for the capacitor of polymer nanocomposite of MnO2 with Ag nanoparticles, which gave 1.334 volts when charging and store the electrical energy even after 24 hours