I just had this same exact problem and it turns out I was using carbon zinc batteries in my camera when the Nikon coolpix b500 only takes lithium or alkaline batteries. They are definitely more expensive but last longer. Check to see if this is your issue