There are essentially two ways your car can tell if you're getting tired. The most common one employs existing lane departure sensors and monitors steering inputs to detect erratic driving, like when you're drifting out of your lane often in a short period of time.