Re: [battery] Add an explicit use cases and requirements section (#25)

Migrating recent use case contributions from WG participants to this issue to keep us focused and on the topic:

@anssiko said:
>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.

@reillyeon said:
>I would definitely appreciate sites like the [Android Flash Tool](https://flash.android.com/) providing a warning if you are about to try flashing a device when your battery is low.

Thanks, this Android Flash Tool is certainly a reasonable use case.

>Anssi, given this API has been available for a number of years are you aware of any compelling examples of real-world use? [Metrics from Chrome](https://chromestatus.com/metrics/feature/timeline/popularity/2198) say ~10% of page loads call this API, what are they using it for?

I see a variety of normal household names from e-commerce, news, social, weather, education.

I observe long-tail web developers (hope that's an appropriate term!) are often more eager to share their use cases than typical big companies.

(Referring also to the [Energy Saver Mode explainer](https://github.com/w3c/battery/blob/gh-pages/energy-saver-mode-explainer.md) here, this work was motivated by web developer use case feedback from #9.)

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


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

Received on Monday, 27 May 2024 17:21:18 UTC