I've had several cars with electric windows. Most of them would fail, usually when it was raining and you needed to raise them.
None of my cars with hand cranked windows has never failed at getting the windows up :-)
I've had a car that had sensors for everything. Half of the failures requiring expensive repairs were sensor failures. Sigh.