A touchless faucet replaces the handle with three things: a sensor, a controller and a solenoid valve. Water flows when the sensor sees a hand and the controller opens the solenoid. Every fault in a hands-free tap is one of those three failing, or the power to them.
Diagnosis order
Batteries or power first. It is the cheapest check and it rules out the most common cause of erratic behaviour: a pack that has dropped below its stable voltage makes the sensor twitchy before it fails outright. On a hard-wired model, check the supply and the transformer instead.
The sensor window second. Dust, water spots and mineral film on the lens produce the same symptom as a failing sensor. Wiping it is free. So is checking for a reflection: a polished sink, a mirror at the right angle or low winter sun can all trigger a sensor that is working correctly.
The solenoid last. A valve that will not close keeps running; one that will not open leaves the tap dry while the sensor still clicks. Scale in the solenoid is common where the water is hard, and it is the part most likely to need replacing.
The failures worth calling about
A tap that will not stop running is the urgent one, because the water has to be isolated at the fixture stop or at the main. On an upper floor that is worth doing before anything else.
A tap that will not turn on is inconvenient rather than damaging. A tap that delivers a weak or wavering stream is usually a scaled aerator or a partially blocked solenoid filter, not a sensor fault at all.
What the repair involves
Under the sink there is a control box: battery pack, solenoid, and the connections to the spout sensor. Most of the diagnosis happens there, with the supply isolated and the sensor's behaviour observed. On commercial fixtures the same parts sit in a cabinet or a chase, often further from the tap.
Wiring splices are a common hidden fault on retrofits. A connection that has corroded will present as an intermittent failure that follows no pattern, which is exactly what a sensor failure looks like.
Commercial and shared fixtures
Touchless taps in a restroom are usually sensor-flush or sensor-faucet units with a power supply shared across fixtures. A fault on one tap can come from the shared transformer, which is why the diagnosis starts at the supply rather than the spout. That work overlaps with commercial faucet repair.
Repair or replace
Batteries, sensor lens, solenoid, control module and wiring are all replaceable on most current models. When the model is obsolete and no module exists, replacement is the honest answer, and a manual fixture is often the more durable choice for a lightly used sink.