@RaananW and others,
Does anyone know of a reliable way to get the battery level of a device in WebXR?
I couldn’t find anything in the WebXR API and I was looking at BatteryManager - Web APIs | MDN but it has been deprecated with no suggestion of an alternative.
I have a control screen that monitors devices active on a LAN (via PeerJS) and one thing I definately want to display is the current battery level of the headsets and controllers. I have a similar solution in Unity3D but am looking to replace the system with a purely BJS one (for other reasons).