Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status of this API #23

Closed
robinglen opened this issue Jul 21, 2019 · 3 comments
Closed

Status of this API #23

robinglen opened this issue Jul 21, 2019 · 3 comments

Comments

@robinglen
Copy link

Hello,

Just wondering what the status of this API is? It is still currently in Chrome, although looking from Chromium bug reports there was discussion of removing it? It is under consideration for Edge, removed from Firefox and Safari.

I'm looking to alter behaviour based on:

  • Battery life ( battery saving mode)
  • Network connection speed and strength
  • Device capabilities
  • Data saving hints

This looked like it should have been potentially solved by the budgets api but that also looks like it has died and I expect will be removed from Chrome? https://wicg.github.io/budget-api/

Any ideas about Battery status or any other APIs that could be used to achieve this?

@anssiko
Copy link
Member

anssiko commented Aug 16, 2019

The API is shipping in Chrome and there are no plans to remove it that I know of.

It would be helpful if you could expand a bit on your envisioned use cases in this issue. We can take them up for discussion mid-Sep when the group meets F2F.

@robinglen
Copy link
Author

robinglen commented Aug 21, 2019

Thanks for getting back to me @anssiko, I'm working on an analytics kind of tool.
I want to be able to collect metrics and beacon them back at different intervals based the below:

  • Battery life ( battery saving mode)
  • Network connection speed and strength
  • Device capabilities
  • Data saving hints

I've seen these be used for native applications for when they send data, I want to recreate using web platform.

@anssiko
Copy link
Member

anssiko commented Aug 22, 2019

Thanks for explaining your use case. I've put #9 on our meeting agenda for next month to gauge interest to make progress on the feature. I'll close this issue, follow ups should be directed to issue #9.

It is under consideration for Edge,

The latest Edge Beta based on Chromium also supports the Battery Status API.

@anssiko anssiko closed this as completed Aug 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants