Skip to content

Battery info for controllers #63

Open
@shawwn

Description

@shawwn

I noticed in some VR game -- I think VRChat -- that you can see the battery level for each controller.

I wanted to add this feature to my own site, but it seems that the WebVR spec doesn't provide the info.

Is there a way battery level could be provided to sites anyway? What would that look like?

We can do something like:

if (navigator.userAgent.startsWith("MixedReality")) { .... }

But that's cumbersome and prone to breakage; probably the worst way to do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions