The system works by collecting the peels of the onions which are usually wasted. This waste is acted upon by special bacteria which generate methane. The methane is diverted to fuel cells which generate electricity. The electricity generated is estimated to be sufficient to power 360 homes.
See: http://in.reuters.com/article/entertainmentNews/idINIndia-41124320090717