With the help of a smartphone and a sensor on the cow determine how much time the cow lay, chewed, ate and stood. Smart farming.