Re: [battery] What’s this spec about again? (#64)

Early use cases are discussed in https://www.w3.org/TR/battery-status/#introduction and I should say, not in an all inclusive manner. There's room for improvement. We've also discussed a complementary proposal you may want to check out: https://github.com/w3c/battery/blob/gh-pages/energy-saver-mode-explainer.md

One new use case that have come up in the context of WebNN API, also not documented in this spec yet, is to figure out whether to download a potentially very big model for on-device inference or use a cloud-based inference instead, or some other mechanism. In this case, knowing _something_ about the device's battery level, and whether the device is plugged in or not is helpful. "You're about to download a 2 GB model file, but it appears you're not plugged in and your battery level appears to be pretty low. Would you still want to proceed?" Not a prompt I'd propose in a product, but for illustration. Also for long-running inference tasks it is helpful to know the rough impact on your battery over a long period or time and fine-tune accordingly. This is a specific case of the general case discussed in the introduction.

-- 
GitHub Notification of comment by anssiko
Please view or discuss this issue at https://github.com/w3c/battery/issues/64#issuecomment-2129641715 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 24 May 2024 14:16:32 UTC