Such approach to electricity generation is used in batteries. Batteries can be of two sorts i.e. Major battery and secondary battery. The first batteries are not rechargeable & it might’t be employed after it’s absolutely discharged.In addition it has some intelligent functions: You could take care of the machine and keep track of energy usage