By the time I was in high school, we had laptop carts that were rolled out for a few classes (as in a handful of times per year). This was 2004+. We also had computer labs since elementary school. Iirc laptops were used when labs were booked up.
I recall the experience being distracting. Computers are more fun than classes. No matter how much you lock down the machine, a kid will figure a way to make it more interesting than class. Computers can do so much. Children are curious.
I remember sneaking in flash games, ms paint/kidpix, browsing the web and whatever.
Anecdotal.. but i certainly wasn’t the only kid fooling around.
I don’t know what the “right amount” is, but I turned out ok. Though the iPhone was introduced after I graduated high school