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

I did a quick Google search and found out also other libraries and frameworks depend on this API, for example [Vue](https://v9-8-1.vueuse.org/core/usebattery/), [React Native](https://github.com/react-native-device-info/react-native-device-info) and [Expo](https://docs.expo.dev/versions/latest/sdk/battery/).

This might provide a partial explanation to why ~10% of page loads call this API. I'm not very familiar with these libraries, but I observe Vue has [~5M weekly downloads](https://www.npmjs.com/package/vue), React Native has [~1.9M weekly downloads](https://www.npmjs.com/package/react-native) and Expo [~600k weekly downloads](https://www.npmjs.com/package/expo).

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


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

Received on Wednesday, 29 May 2024 08:54:04 UTC