It's connects to a taser-like device with what appears to be headphones, and presto: Once the app detects undesireable behaviour the electric shock to the sides of the skull neatly handles the problem.
The embarrassing drunkenness "turns out" to be a symptom of an unfortunate neurological disorder, complete with spasmodic seizures and unconsciousness.