Sign in when you arrive and sign out when you leave. It takes ten seconds.
Scan the same code when you leave and tap Leaving.
Tap your name, then confirm.