Skip to main content
July 13, 2021
Solved

BatteryLevel not working!!

  • July 13, 2021
  • 3 replies
  • 1641 views

i tried to use Unity.XR.Oculus.Stats.AdaptivePerformance.BatteryLevel on Quest 2 but its not working anymore ...

any suggestions??

    This topic has been closed for replies.
    Best answer by

    thanks for your reply ...

     

    i'm using 

    SystemInfo.batteryLevel

    for now and everything looks good :]

    3 replies

    July 13, 2021

    It's not going to be that useful asking about bugs in the Unity XR implementation here.

     

    If you're targeting Oculus Quest why not use the Oculus Integration and the classes/methods provided by Oculus?

     

    /// <summary>
    /// Gets the current battery level.
    /// </summary>
    /// <returns><c>battery level in the range [0.0,1.0]</c>
    /// <param name="batteryLevel">Battery level.</param>

    OVRManager.batteryLevel

    Answer
    July 13, 2021

    thanks for your reply ...

     

    i'm using 

    SystemInfo.batteryLevel

    for now and everything looks good :]

    July 13, 2021

    Then this thread title probably didn't need the double exclamation points!! That kinda communicates an urgent blocking issue, not something that can be solved with googling.