The solar panel has to be aimed directly at the sun so it works a couple of hours on a very sunny day.  It doesn't switch to battery automatically.  I'm going to have a real fountain installed and make this a bird bath.