The average is around 3-4 days, anyone who manages longer is either almost certainly lying, or they are likely experiencing spells of microsleep without even realising it.
Certainly there are drugs such as caffeine, cocaine and amphetamines that keep you awake, but these cannot sustain you for very long. The longest in the Guinness book of world record is 11 days without sleep.
so far a friend of mine manage to still function after 3 days of no sleep
For as long as he/her can go without food, water, and sleep.
not that long
Like breathing, sleep is a fundamental human requirement. It has even been said that one could survive for three times as long without food as one could without sleep. One of the better known experiments on this subject, found that depriving rats entirely of sleep resulted in their death, or near-dying state, within 11-32 days.
a lot
Because you don't touch it and it goes to sleep. You can change how long it waits to go to sleep on the settings.
some animals that can survive the winter and not the summer go for long summer sleep.
I would say without irreversible health problems 10 days maximum.
10 days.
Sleep problems
Of course, you don't have to wear anything to go to sleep or to bed.
It depends on the persons body and how it reacts to the loss of sleep