Power saver device for public lighting systems and method thereof