I finally changed the battery in the wall clock, and now it ticks all night.