- From: Sangwhan \ <sysbot+gh@w3.org>
- Date: Wed, 21 May 2025 12:03:38 +0000
- To: public-device-apis-log@w3.org
As someone who has first-hand experience implementing battery saver mode in the OS, that design is suboptimal - that script will only evaluate once, so if the user runs out of battery after the page has loaded it would only reach the declarative path. It's much more likely that logic that would require to change would be within the application logic itself, so an event would be much more desirable over a media query match. -- GitHub Notification of comment by cynthia Please view or discuss this issue at https://github.com/w3c/battery/issues/9#issuecomment-2897703821 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 21 May 2025 12:03:39 UTC