2 ms·
> If the ping events come too fast, it can cause some clients to never go into sleep mode. ... It was noted that on an iPad if you left the FastMail webpage ope
by simoncion 12y ago
> If the ping events come too fast, it can cause some clients to never go into sleep mode. ... It was noted that on an iPad if you left the FastMail webpage open in Safari and put the iPad down ... [t]he screen would stay on, draining the battery very quickly.
Am I reading that right? Safari permits a malicious web page to trivially keep the screen on your iDevice active until the battery is drained, or you navigate away from Safari or the web page?
If I am reading that right, that's a terribad decision on the part of the Safari folks.
- userbinator 12y agoI think it's done for the same reason you wouldn't want the screen to go dark while you're watching a video. I've also experienced "unwanted sleep" while reading lots of text in a browser or other app - having to keep a finger on the screen quickly gets rather annoying. I understand the desire to conserve battery, but I prefer to act in the I will sleep the device when I am done looking at it manner.
- simoncion 12y agoI can understand that, but it's totally the wrong way to go about it. If you want the screen to not sleep, create a "Don't let the screen sleep" call in WebKit and encourage folks to use it. I mean "DPMS powersave toggle" seems to be a better -and easier- feature than "Tell this webpage my physical location".