But as long as it's only for actively open apps and web pages I don't really see much harm.
That's how I spend 10-ish% of my time on Hacker News
https://bugs.chromium.org/p/chromium/issues/detail?id=421691
Browsers have added rate limiting to mitigate this threat. (Prior to that, my former team in Google Ads added our own rate limiting to the gyroscope API we provided for ads.) The risk now seems pretty minor, but I wouldn't be shocked if someone clever still managed to find some way to abuse it.
Whaaaa?
Know what you are typing: https://www.newscientist.com/article/mg21128255-200-smartpho...
You can also determine things like health and other physical characteristics, similar to gait detection.
If you do have some source of absolute orientation, like a compass, surely you just use that and don't need the gyro.
I just took a quick look at https://developer.mozilla.org/en-US/docs/Web/API/Detecting_d..., and it seems to provide orientation, and not angular velocities. So it could also be that browser implementations fuse magnetometer and inertial sensors to produce the orientation estimate. Is there another gyro API?