Intermittent crank no start

The battery is bad. Should be 12.6-7v, engine off.