A four-hour timer helps put an endpoint on a long session. The wake lock is still subject to browser and operating system limits. AwakeScreen does not run a background service, and closing the tab ends the session.
Put a boundary around a longer session
A four-hour preset is useful when you want a longer visible session with a defined end. On a laptop, consider power and battery before leaving the display awake.
Keep the session visible and check back
Browsers can release wake requests when the page is hidden or device conditions change. The countdown should not be treated as proof that a computer or separate task stayed active.
For the underlying browser behavior, see the W3C Screen Wake Lock specification.